working scripts

This commit is contained in:
2022-08-15 02:31:03 +02:00
parent 7efb365b14
commit a884f563f6
3 changed files with 31 additions and 0 deletions

8
docker.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
apt-get update
apt-get install -y xorriso genisoimage
cd /root/unattended
genisoimage -r -J -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o $(ls | grep "netinst.iso" | sed 's/netinst/unattended/') isofiles
chown 1000:1000 $(ls | grep "netinst.iso" | sed 's/netinst/unattended/')