montage du FS de kaz-prod directement dans la VM
This commit is contained in:
parent
8dc0cb76b4
commit
62132bcd55
@ -205,6 +205,11 @@ EOF
|
|||||||
echo -e '#!/bin/sh\nsnster -c /root/snster-kaz start' >> /etc/rc.local
|
echo -e '#!/bin/sh\nsnster -c /root/snster-kaz start' >> /etc/rc.local
|
||||||
chmod +x /etc/rc.local
|
chmod +x /etc/rc.local
|
||||||
|
|
||||||
|
# On monte le filesystem de kaz-prod dans le /kaz de la VM pour le dév
|
||||||
|
mkdir /kaz-prod /kaz
|
||||||
|
echo "overlay /kaz-prod overlay lowerdir=/var/lib/lxc/sr-masters-bullseye/rootfs,upperdir=/var/lib/lxc/kaz-kaz-prod/overlay/delta,workdir=/var/lib/lxc/kaz-kaz-prod/overlay/work 0 0" >> /etc/fstab
|
||||||
|
echo "/kaz-prod/kaz /kaz none bind 0 0" >> /etc/fstab
|
||||||
|
|
||||||
echo "########## ********** End Vagrant $(date +%D-%T)"
|
echo "########## ********** End Vagrant $(date +%D-%T)"
|
||||||
) > >(tee ${DebugLog}stdout.log) 2> >(tee ${DebugLog}stderr.log >&2)
|
) > >(tee ${DebugLog}stdout.log) 2> >(tee ${DebugLog}stderr.log >&2)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user