2,253
edits
Changes
m
Robot: Automated text replacement (-VEID +CTID)
Create VE based on latest SLES9 x8664 template:
vzctl create $VEID CTID --ostemplate sles-9-x86_64
Assign some IP address to the VE:
vzctl set $VEID CTID --ipadd $VE_IP_ADDRESS --save
Setup nameserver inside VE (/etc/resolv.conf):
vzctl set $VEID CTID --nameserver $DNS_IP
Set enough resource limits inside VE (in this example ~2GB RAM):
vzctl set $VEID CTID --save --applyconfig vps.2048MB
Set enough disk space for the VE (e.g. to 15GB):
vzctl set $VEID CTID --save --diskspace 15000000
== Inside VE ==