Changes between Version 3 and Version 4 of jazz/LXC
- Timestamp:
- Jan 12, 2014, 6:19:20 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/LXC
v3 v4 60 60 root@jazzbook:~# wget http://lxc-webpanel.github.io/tools/install.sh -O - | bash 61 61 }}} 62 * 建立 20 個 VM 名稱對應 63 {{{ 64 }}} 65 * 根據 /etc/default/lxc-net 的說明,可以設定一個檔案,來根據 hostname 決定 IP 分配 66 {{{ 67 #!bash 68 # Uncomment the next line if you'd like to use a conf-file for the lxcbr0 69 # dnsmasq. For instance, you can use 'dhcp-host=mail1,10.0.3.100' to have 70 # container 'mail1' always get ip address 10.0.3.100. 71 #LXC_DHCP_CONFILE=/etc/lxc/dnsmasq.conf 72 }}}