fix regression for personalized iso

This commit is contained in:
t3chn0m4g3
2022-04-01 14:58:47 +00:00
parent f49f454a42
commit 2b61f3da56
2 changed files with 2 additions and 0 deletions

View File

@ -131,6 +131,7 @@ in-target apt-get -y install grub-pc; \
in-target grub-install --force $(debconf-get partman-auto/disk); \ in-target grub-install --force $(debconf-get partman-auto/disk); \
update-dev; \ update-dev; \
in-target update-grub; \ in-target update-grub; \
cp /opt/installer -R /target/root; \
### DEV ### DEV
in-target git clone --depth=1 https://github.com/telekom-security/tpotce -b 22.x /opt/tpot; \ in-target git clone --depth=1 https://github.com/telekom-security/tpotce -b 22.x /opt/tpot; \
in-target sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \ in-target sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \

View File

@ -90,6 +90,7 @@ d-i debian-installer/splash boolean false
### Post install (Grub & T-Pot Installer) ### Post install (Grub & T-Pot Installer)
######################################### #########################################
d-i preseed/late_command string \ d-i preseed/late_command string \
cp /opt/installer -R /target/root; \
### DEV ### DEV
in-target git clone --depth=1 https://github.com/telekom-security/tpotce -b 22.x /opt/tpot; \ in-target git clone --depth=1 https://github.com/telekom-security/tpotce -b 22.x /opt/tpot; \
in-target sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \ in-target sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \