Created
March 7, 2017 21:47
-
-
Save jchodakowski/1f4ff13aa6a92926f6dbd5df2971b6a4 to your computer and use it in GitHub Desktop.
Preseed shell command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
. /usr/share/debconf/confmodule | |
set -e | |
anna-install parted-udeb | |
preseed_fetch lvm.sh /tmp/lvm.sh | |
chmod 755 /tmp/lvm.sh | |
#echo /tmp/lvm.sh installer >> /var/lib/dpkg/info/download-installer.postinst | |
#sed -i '2i/tmp/lvm.sh installer' /var/lib/dpkg/info/live-installer.postinst | |
sed -i 's/partman/\/tmp\/lvm.sh destroy; \/tmp\/lvm.sh partman/' /var/lib/dpkg/info/partman-base.postinst |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment