edit
This commit is contained in:
@@ -40,18 +40,18 @@ tasksel tasksel/first multiselect standard, ssh-server
|
||||
# Individual additional packages to install
|
||||
#d-i pkgsel/include string bash-completion git
|
||||
|
||||
# Include the QMADE post installation script from Github.
|
||||
# Include the Danos post installation script from Github.
|
||||
d-i preseed/late_command string \
|
||||
apt-install grep wget curl bash; \
|
||||
USER_HOME=$(grep ":1000:" /target/etc/passwd | cut -d: -f6) && echo "[ -f ~/.first-login_RENAME ] \
|
||||
&& curl -sfL https://raw.githubusercontent.com/ITmail-dk/qmade/main/install.sh | bash" >> /target/$USER_HOME/.profile \
|
||||
&& touch /target/$USER_HOME/.first-login && NEW_USERNAME=$(grep ":1000:" /target/etc/passwd | cut -d: -f1) \
|
||||
&& chown $NEW_USERNAME:$NEW_USERNAME /target/$USER_HOME/.first-login; \
|
||||
in-target wget -O /usr/local/bin/qmade-install https://raw.githubusercontent.com/ITmail-dk/qmade/main/install.sh; \
|
||||
in-target chmod +x /usr/local/bin/qmade-install; \
|
||||
in-target wget -O /tmp/install-qmade.sh https://raw.githubusercontent.com/ITmail-dk/qmade/main/preseed-install-qmade.sh; \
|
||||
in-target chmod +x /tmp/install-qmade.sh;\
|
||||
in-target /bin/sh /tmp/install-qmade.sh
|
||||
in-target wget -O /usr/local/bin/danos-install https://raw.githubusercontent.com/ITmail-dk/qmade/main/install.sh; \
|
||||
in-target chmod +x /usr/local/bin/danos-install; \
|
||||
in-target wget -O /tmp/install-danos.sh https://raw.githubusercontent.com/ITmail-dk/qmade/main/preseed-install-qmade.sh; \
|
||||
in-target chmod +x /tmp/install-danos.sh;\
|
||||
in-target /bin/sh /tmp/install-danos.sh
|
||||
|
||||
# --------------------------------------------------------------------------- #
|
||||
|
||||
|
||||
Reference in New Issue
Block a user