option to enable network support in initrd

pull/40/head
TomasM 2017-10-27 05:22:21 -04:00
parent 696e0f904e
commit 07ee535646
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
rm -f /etc/fstab
rm -f /etc/mtab
rm -Rf /etc/systemd/system/timers.target.wants rm -Rf /etc/systemd/system/timers.target.wants
rm -f /var/backups/* rm -f /var/backups/*

7
config
View File

@ -29,8 +29,11 @@ KERNEL=$(uname -r)
# Exclude directories like proc sys tmp # Exclude directories like proc sys tmp
MKMOD="bin etc home lib lib64 opt root sbin srv usr var" MKMOD="bin etc home lib lib64 opt root sbin srv usr var"
# List of files and directories you'd like to exclude from your Live Kit # If you require network support in initrd, for example to boot over
EXCLUDE="/etc/fstab /etc/mtab" # PXE or to load data using 'from' boot parameter from a http server,
# you will need network modules included in your initrd.
# To enable, set to true
NETWORK=false
# Temporary directory to store livekit filesystem # Temporary directory to store livekit filesystem
LIVEKITDATA=/tmp/$LIVEKITNAME-data-$$ LIVEKITDATA=/tmp/$LIVEKITNAME-data-$$