fickit: Fix preparation and deploy
This commit is contained in:
parent
0c7f5b88df
commit
a109c6d341
@ -10,7 +10,7 @@ stderr_logfile = /dev/stderr
|
||||
stderr_logfile_maxbytes = 0
|
||||
|
||||
[program:tftpd]
|
||||
command = /usr/sbin/in.tftpd -a 0.0.0.0:69 -v -s /srv
|
||||
command = /usr/sbin/in.tftpd -L -a 0.0.0.0:69 -v -s /srv
|
||||
stdout_logfile = /dev/stdout
|
||||
stdout_logfile_maxbytes = 0
|
||||
stderr_logfile = /dev/stderr
|
||||
|
@ -3,7 +3,7 @@
|
||||
mkdir -p /boot/imgs
|
||||
|
||||
# Backup the previous metadata
|
||||
mv fickit-metadata.iso fickit-metadata.iso.bak
|
||||
mv /boot/imgs/fickit-metadata.iso /boot/imgs/fickit-metadata.iso.bak
|
||||
|
||||
for img in fickit-boot-kernel fickit-metadata.iso fickit-boot-initrd.img fickit-prepare-initrd.img fickit-frontend-squashfs.img fickit-backend-squashfs.img fickit-update-initrd.img
|
||||
do
|
||||
|
@ -95,10 +95,10 @@ files:
|
||||
fi
|
||||
elif [ "${AUTOPREPARE}" == "backend" ]
|
||||
then
|
||||
DEFAULT_BOOT=1
|
||||
DEFAULT_BOOT=0
|
||||
elif [ "${AUTOPREPARE}" == "frontend" ]
|
||||
then
|
||||
DEFAULT_BOOT=0
|
||||
DEFAULT_BOOT=1
|
||||
else
|
||||
echo
|
||||
echo "Invalid fickit.autoprepare value: got $AUTOPREPARE, expected frontend or backend."
|
||||
|
Loading…
x
Reference in New Issue
Block a user