util-vserver:Cheatsheet
From Linux-VServer
Revision as of 21:15, 23 October 2008 by 82.246.252.16 (Talk)
util-vserver cheatsheet
ok,
here is my cheatsheet for util-vserver. I figured a lot by hand so i would like to share some here. This is a draft:
HOT ADD AN ADRESS TO A GUEST:
- create the address on the host:
ifconfig eth0:10 172.16.0.145/12
- add the adress:
naddress --nid guestname --add --ip 172.16.0.145 --bcast 172.31.255.255 - add the ip to the config directory to make it sticjk if you restart
- enter the guest and verify services that need to listen to the ip, restart fi necessary (for me it was not).