Skip to content
Snippets Groups Projects
Commit 18a48916 authored by Lucas Manika Koeb's avatar Lucas Manika Koeb
Browse files

40-configure_minicom: Only reconfigure le-greeter on the client iso

parent 836f2ea0
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,8 @@ case "$1" in ...@@ -72,6 +72,8 @@ case "$1" in
"minicom/client") "minicom/client")
sed -i 's@[Uu]buntu@monitor@g' "$CHROOTDIR"/etc/casper.conf sed -i 's@[Uu]buntu@monitor@g' "$CHROOTDIR"/etc/casper.conf
sed -i 's@HOST="monitor"@HOST="le5-telecentro"@g' "$CHROOTDIR"/etc/casper.conf sed -i 's@HOST="monitor"@HOST="le5-telecentro"@g' "$CHROOTDIR"/etc/casper.conf
# Reconfigure le-greeter now that /etc/le/dat_iso.txt is in place
chroot $CHROOTDIR dpkg-reconfigure le-greeter
touch "$CHROOTDIR"/.im_a_live touch "$CHROOTDIR"/.im_a_live
;; ;;
"minicom/server") "minicom/server")
...@@ -91,9 +93,6 @@ INFO_ISO=$(echo "$1" | cut -d "/" -f 2) ...@@ -91,9 +93,6 @@ INFO_ISO=$(echo "$1" | cut -d "/" -f 2)
INFO_ISO="$INFO_ISO:"$(date +"%d-%m-%y") INFO_ISO="$INFO_ISO:"$(date +"%d-%m-%y")
echo "$INFO_ISO" > "$CHROOTDIR"/etc/le/data_iso.txt echo "$INFO_ISO" > "$CHROOTDIR"/etc/le/data_iso.txt
# Reconfigure le-greeter now that /etc/le/data_iso.txt is in place
chroot $CHROOTDIR dpkg-reconfigure le-greeter
# Sets deb-conf install command # Sets deb-conf install command
sed -i 's@Ubuntu@LE@g' "$CDDIR"/preseed/ubuntu.seed sed -i 's@Ubuntu@LE@g' "$CDDIR"/preseed/ubuntu.seed
sed -i 's@ubuntu@le@g' "$CDDIR"/preseed/ubuntu.seed sed -i 's@ubuntu@le@g' "$CDDIR"/preseed/ubuntu.seed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment