feature: workbench pxe #2

Merged
pedro merged 83 commits from pxe into main 2024-09-28 02:19:31 +00:00
Showing only changes of commit 7d16cb8bd4 - Show all commits

View file

@ -264,7 +264,7 @@ prepare_app() {
# startup script execution # startup script execution
cat > "${ISO_PATH}/chroot/root/.profile" <<END cat > "${ISO_PATH}/chroot/root/.profile" <<END
if [ -f /tmp/workbench_lock ]; then if [ -f /tmp/workbench_lock ]; then
return exit 0
else else
touch /tmp/workbench_lock touch /tmp/workbench_lock
fi fi
@ -280,7 +280,6 @@ if [ -d /run/live/medium ]; then
# debian live nfs path is readonly, do a trick # debian live nfs path is readonly, do a trick
# to make snapshots subdir readwrite # to make snapshots subdir readwrite
mount ${server_ip}:/snapshots /run/live/medium/snapshots mount ${server_ip}:/snapshots /run/live/medium/snapshots
else
fi fi
# clearly specify the right working directory, used in the python script as os.getcwd() # clearly specify the right working directory, used in the python script as os.getcwd()
cd /mnt cd /mnt