Enable post.bookworm script…
This commit is contained in:
parent
0b55464805
commit
9b0cb33ff1
|
@ -408,18 +408,12 @@ d-i cdrom-detect/eject boolean false
|
|||
# 1. Umount and remove temp lvm lv_free
|
||||
# 2. Allow root connections with SSH
|
||||
# 3. Download and run a post.bookworm.sh script
|
||||
# TODO: PROD
|
||||
#d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \
|
||||
#lvremove -f /dev/sys/lv_free ; \
|
||||
#in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||
#in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
||||
#in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
||||
#in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \
|
||||
#in-target /bin/sh /tmp/latecommand/post.bookworm.sh
|
||||
|
||||
# TODO: DEV
|
||||
d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \
|
||||
lvremove -f /dev/sys/lv_free ; \
|
||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ;
|
||||
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
||||
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
||||
in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \
|
||||
in-target /bin/sh /tmp/latecommand/post.bookworm.sh
|
||||
|
||||
################################################################## ]]]
|
||||
|
|
Loading…
Reference in New Issue