zoukankan      html  css  js  c++  java
  • virsh VMI deploy data serial xml

    <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
            <name>one-116</name>
            <vcpu>1</vcpu>
            <cputune>
                    <shares>1024</shares>
            </cputune>
            <memory>524288</memory>
            <os>
                    <type arch='x86_64'>hvm</type>
                    <bootloader>pygrub</bootloader>
                    <boot dev='hd'/>
            </os>
            <devices>
                    <emulator>/usr/bin/kvm</emulator>
                    <disk type='file' device='disk'>
                            <source file='/srv/cloud/eucalyptus/var//datastores/0/116/disk.0'/>
                            <target dev='hda'/>
                            <driver name='qemu' type='qcow2' cache='none'/>
                    </disk>
                    <disk type='file' device='cdrom'>
                            <source file='/srv/cloud/eucalyptus/var//datastores/0/116/disk.1'/>
                            <target dev='hdb'/>
                            <readonly/>
                            <driver name='qemu' type='raw'/>
                    </disk>
                    <interface type='bridge'>
                            <source bridge='br0'/>
                            <mac address='02:00:c0:a8:01:a8'/>
                    </interface>
                    <graphics type='vnc' listen='0.0.0.0' port='6016'/>
            </devices>
            <features>
                    <acpi/>
            </features>
    </domain>

  • 相关阅读:
    win8设置无线网络共享
    设计模式学习每天一个——Decorator模式
    【转】命令模式(command pattern)
    设计模式总览
    设计模式学习每天一个——Command模式
    设计模式学习每天一个——Observer模式
    【转】UML解惑:图说UML中的六大关系
    设计模式学习每天一个——Strategy模式
    深入学习
    设计模式学习每天一个——Singleton模式
  • 原文地址:https://www.cnblogs.com/ruiy/p/4149334.html
Copyright © 2011-2022 走看看