Changes between Version 8 and Version 9 of KVM-OpenNebula


Ignore:
Timestamp:
Oct 18, 2010, 6:50:19 PM (14 years ago)
Author:
rider
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • KVM-OpenNebula

    v8 v9  
    204204----
    205205= 【Step 9: 使用 ONE 來開啟 VM】 =
     206 * 先在 pcX 上面建立 bridge network (br0).
     207{{{
     208# sudo vim /etc/network/interfaces
     209}}}
     210{{{
     211#!sh
     212# This file describes the network interfaces available on your system
     213# and how to activate them. For more information, see interfaces(5).
     214
     215# The loopback network interface
     216auto lo
     217iface lo inet loopback
     218
     219# The primary network interface
     220allow-hotplug eth0
     221auto br0
     222iface br0 inet static
     223        address xxx.xxx.xxx
     224        netmask 255.255.255.0
     225        broadcast xxx.xxx.xxx.255
     226        gateway xxx.xxx.xxx.254
     227        bridge_ports    eth0
     228        bridge_stp      off
     229        bridge_maxwait  0
     230        bridge_fd       0
     231        # dns-* options are implemented by the resolvconf package, if installed
     232        dns-nameservers xxx.xxx.xxx.xxx
     233}}}
    206234 * 在 pcX 上執行
    207235 * 編輯 xp 的設定檔  (__X 和 Y 請自行修改成自己的電腦名稱__)
     
    223251         readonly = no ]
    224252
    225 GRAPHICS = [ type ="sdl",
     253GRAPHICS = [ type ="vnc",
    226254             listen ="127.0.0.1",
    227255             port = "5901" ]
     256
     257NIC = [ network = "Public"]
    228258}}}
    229259 * 使用 ONE 來開啟虛擬機器 xp, 並指定佈署到實體機器 pcX