diff --git a/create b/create index 65c31a9..762cdbd 100755 --- a/create +++ b/create @@ -22,7 +22,7 @@ LAB=${LAB:=0} ## Do not touch below this line LABDIR=/var/lab STAGING=$LABDIR/staging -HVN="hvn${LAB}.lab.ipng.ch" +HVN="hvn${LAB}-lab.chbtl0.net.ipng.ch" echo "* Cloning base" ssh root@$HVN "set -x; for node in 0 1 2 3; do VM=vpp${LAB}-\${node}; mkdir -p $STAGING/\$VM; zfs clone $BASE ssd-vol0/\$VM; done" diff --git a/destroy b/destroy index e77d26a..4c914a1 100755 --- a/destroy +++ b/destroy @@ -13,7 +13,7 @@ BASE=${BASE:=ssd-vol0/hvn0.chbtl0.ipng.ch/ssd-vol0/vpp-proto-disk0@20221018-rele LAB=${LAB:=0} ## Do not touch below this line -HVN="hvn${LAB}.lab.ipng.ch" +HVN="hvn${LAB}-lab.chbtl0.net.ipng.ch" echo "* Destroying VMs" ssh root@$HVN "set -x; for node in 0 1 2 3; do VM=vpp${LAB}-\${node}; virsh destroy \$VM; done" diff --git a/pristine b/pristine index 887d3b1..f85fbd8 100755 --- a/pristine +++ b/pristine @@ -3,7 +3,7 @@ LAB=${LAB:=0} ## Do not touch below this line -HVN="hvn${LAB}.lab.ipng.ch" +HVN="hvn${LAB}-lab.chbtl0.net.ipng.ch" ## Destroy the VMs and bring them back into pristine state echo "* Restarting VMs from pristine snapshot" diff --git a/virshall b/virshall index dd1f6df..bc8779d 100755 --- a/virshall +++ b/virshall @@ -5,7 +5,7 @@ LAB=${LAB:=0} ## Do not touch below this line LABDIR=/var/lab STAGING=$LABDIR/staging -HVN="hvn${LAB}.lab.ipng.ch" +HVN="hvn${LAB}-lab.chbtl0.net.ipng.ch" CMD=$1 [ "$CMD" != "start" -a "$CMD" != "shutdown" -a "$CMD" != "destroy" ] && {