developing windows boot settings...
This commit is contained in:
parent
2a1e6ec4f4
commit
454bce2beb
@ -8,5 +8,4 @@ cat ./resources/default-full | \
|
||||
-e "s/__MENUTITLE__/${MENUTUTLE}/g" \
|
||||
-e "s/__MENUBACKGROUND__/${MENUBACKGROUND}/g" > ${TFTP}/pxelinux.cfg/default
|
||||
|
||||
cp -av ./free ${TFTP}/
|
||||
cp -av ./non-free ${TFTP}/
|
||||
./configure-debian-system.sh
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
TFTP=/srv/tftp
|
||||
# Load Global Settings
|
||||
. ./settings.sh
|
||||
|
||||
# create directories
|
||||
mkdir -p ${TFTP}
|
||||
@ -21,7 +22,8 @@ ln ${TFTP}/bios/ldlinux.c32 ${TFTP}/
|
||||
ln ${TFTP}/pxelinux.cfg/default ${TFTP}/default -s
|
||||
|
||||
# set file access
|
||||
chown www-data.www-data ${TFTP} -R
|
||||
chown ${USERID}:${GROUPID} * -R
|
||||
chown ${USERID}:${GROUPID} ${TFTP}/* -R
|
||||
chmod a+rwx ${TFTP} -R
|
||||
|
||||
# restart services
|
||||
|
17
configure-windows-pxeboot.sh
Normal file
17
configure-windows-pxeboot.sh
Normal file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ./settings.sh
|
||||
|
||||
# Download Debian Packages
|
||||
apt update
|
||||
apt install -y samba genisoimage wimtools cabextract
|
||||
|
||||
# setup temp-dirs:
|
||||
mkdir -p ./temp/waik
|
||||
|
||||
# Download Windows Stuff:
|
||||
WAIKURL="https://download.microsoft.com/download/8/E/9/8E9BBC64-E6F8-457C-9B8D-F6C9A16E6D6A/KB3AIK_EN.iso"
|
||||
FILENAME="./temp/KB3AIK_EN.iso"
|
||||
if ! [ -e $FILENAME ]; then
|
||||
wget -nc -O $FILENAME $WAIKURL
|
||||
fi
|
@ -93,4 +93,4 @@ do
|
||||
done
|
||||
done
|
||||
|
||||
chmod a+rwx ${TFTP}/ -R
|
||||
./configure-debian-system.sh
|
||||
|
6
download-non-free.sh
Executable file
6
download-non-free.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ./settings.sh
|
||||
|
||||
# copy local non-free directory to the tftp server:
|
||||
cp -av ./non-free ${TFTP}/
|
@ -71,6 +71,18 @@ MENU BEGIN
|
||||
KERNEL free/cz/live/vmlinuz
|
||||
APPEND initrd=free/cz/live/initrd.img boot=live username=user union=overlay config components noswap edd=on nomodeset nodmraid locales=de_DE.UTF-8 keyboard-layouts=de-latin-1 ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://__NFSSERVERIP__/free/cz/live/filesystem.squashfs quiet
|
||||
|
||||
LABEL acr18
|
||||
MENU LABEL * Acronis True Image Home 2018
|
||||
LINUX memdisk
|
||||
INITRD non-free/acronis/acronis2018.iso
|
||||
APPEND iso raw
|
||||
|
||||
LABEL acr14
|
||||
MENU LABEL * Acronis True Image Home 2014
|
||||
LINUX memdisk
|
||||
INITRD non-free/acronis/acronis2014.iso
|
||||
APPEND iso raw
|
||||
|
||||
LABEL acr11
|
||||
MENU LABEL * Acronis True Image Home 2011
|
||||
LINUX memdisk
|
||||
|
@ -14,5 +14,5 @@
|
||||
# 4. download free stuff (knoppix...)
|
||||
./download-free.sh
|
||||
|
||||
# 5. setting open file access
|
||||
chmod a+rwx ${TFTP}/ -R
|
||||
# 5. rerun some settings...
|
||||
./configure-debian-system.sh
|
||||
|
@ -6,3 +6,5 @@ NFSSERVERIP=192.168.75.3
|
||||
MENUTUTLE="Sample Title Text"
|
||||
MENUBACKGROUND="splash.png"
|
||||
|
||||
USERID=www-data
|
||||
GROUPID=www-data
|
||||
|
Loading…
x
Reference in New Issue
Block a user