控制节点 控制节点信息: eth0:10
222/24 eth1:192
222/24 网络设置 cat /etc/network/interfaces auto eth0 iface eth0 inet static address 10
222 netmask 255
0 gateway 10
1 auto eth1 iface eth1 inet static address 192
222 netmask 255
0 重启网络 /etc/init
d/networking restart 添加Grizzly 源 默认Ubuntu 12
04 的源是Essex 版本,我们需要增加Grizzly 的源
不过需要你手工添加
apt-get update apt-get install ubuntu-cloud-keyring python-software-properties software-properties-common python-keyring 添加Grizzly 源 cat /etc/apt/sources
list deb http://ubuntu-cloud
archive
canonical
com/ubuntu precise-proposed/grizzly main deb http://ubuntu-cloud
archive
canonical
com/ubuntu precise-updates/grizzly main EOF 运行下面命令进行更新 apt-get update && apt-get -y dist-upgrade Hostname Hostname 设置,其实不是必须的,不过养成一个习惯,也方便自己
root@control:~#