Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-12-29 06:32:00 +03:00
parent cd7ac2224f
commit 5570327423

View File

@ -88,6 +88,7 @@ echo Creating CT...
TEMPLATE=($(ls /var/lib/vz/template/cache/alpine-3.18*.tar.xz))
# XXX option to configure bridges...
# NOTE: we are not setting the password here to avoid printing it to the terminal...
@ pct create $ID \
${TEMPLATE[-1]} \
@ -104,6 +105,7 @@ TEMPLATE=($(ls /var/lib/vz/template/cache/alpine-3.18*.tar.xz))
--start 1 \
|| exit 1
# XXX ifdown admin lan interfaces fro bootstrap...
echo Setting root password...
if [ $PASS ] ; then