基于KVM的NOVA开启suse10虚机配置文件

简介:

<domain type='kvm'>
    <uuid>49c2b752-999d-4a81-bc5c-da982b7bad35</uuid>
    <name>instance-0000008b</name>
    <memory>524288</memory>
    <os>
            <type>hvm</type>
            <boot dev="hd" />
    </os>
    <features>
        <acpi/>
    </features>
    <vcpu>1</vcpu>
    <devices>
        <disk type='file' device='disk'>
            <driver type='qcow2' cache='none'/>
            <source file='/var/lib/nova/instances/instance-0000008b/disk'/>
            <target dev='vda' bus='virtio'/>
        </disk>

        <interface type='bridge'>
            <source bridge='br100'/>
            <mac address='fa:16:3e:2a:1e:e9'/>
            <filterref filter="nova-instance-instance-0000008b-fa163e2a1ee9">
                <parameter name="IP" value="192.168.148.15" />
                <parameter name="DHCPSERVER" value="192.168.148.6" />
            </filterref>
        </interface>


        <!-- The QEMU 'pty' driver throws away any data if no
      client app is connected. Thus we can't get away
      with a single type=pty console. Instead we have
      to configure two separate consoles. -->
        <serial type='file'>
            <source path='/var/lib/nova/instances/instance-0000008b/console.log'/>
        </serial>
        <serial type='pty'/>

        <input type='tablet' bus='usb'/>

        <graphics type='vnc' port='-1' autoport='yes' keymap='en-us' listen='10.12.29.7'/>
    </devices>
</domain>










本文转自 jxwpx 51CTO博客,原文链接:http://blog.51cto.com/jxwpx/943136,如需转载请自行联系原作者
目录
相关文章
|
8月前
|
虚拟化
虚拟化——成功解决ovirt修改ifcfg-ovirtmgmt的ip之后,重启虚拟机没有效果的问题
虚拟化——成功解决ovirt修改ifcfg-ovirtmgmt的ip之后,重启虚拟机没有效果的问题
|
10月前
|
KVM 虚拟化
KVM管理命令
KVM管理
98 0
|
KVM 虚拟化 机器学习/深度学习
|
Linux KVM 虚拟化
|
存储 KVM 虚拟化

热门文章

最新文章