improved comments and added autoattend to iso
This commit is contained in:
parent
0d3522b4b0
commit
69c1fb8eef
1 changed files with 7 additions and 5 deletions
12
init.sh
12
init.sh
|
@ -4,17 +4,19 @@
|
|||
mkdir -p /mnt/iso
|
||||
mount -o loop Win10* /mnt/iso
|
||||
|
||||
# copy iso files
|
||||
## copy iso files
|
||||
mkdir -p win
|
||||
cp -r /mnt/iso/* win/
|
||||
|
||||
# clean up mount
|
||||
## clean up mount
|
||||
umount /mnt/iso
|
||||
rm -rf /mnt/iso
|
||||
#rm Win*
|
||||
rm Win*
|
||||
|
||||
# copy answerfile
|
||||
cp autounattend.xml
|
||||
# end extract iso
|
||||
|
||||
# add answerfile
|
||||
cp autounattend.xml win/
|
||||
|
||||
# recreate iso
|
||||
dd if=win of=win.iso
|
||||
|
|
Loading…
Reference in a new issue