add bash-completion pkg, set lxterminal as x-terminal-emulator
This commit is contained in:
parent
3884886c7c
commit
8d5f997ef0
2 changed files with 5 additions and 2 deletions
|
@ -67,6 +67,7 @@ apt install -y --no-install-recommends \
|
||||||
dialog \
|
dialog \
|
||||||
sudo \
|
sudo \
|
||||||
console-data \
|
console-data \
|
||||||
|
bash-completion \
|
||||||
locales \
|
locales \
|
||||||
man \
|
man \
|
||||||
unzip \
|
unzip \
|
||||||
|
|
|
@ -126,14 +126,16 @@ message "correct file permissions"
|
||||||
$CHROOTCMD /usr/bin/chmod 440 /etc/sudoers || error
|
$CHROOTCMD /usr/bin/chmod 440 /etc/sudoers || error
|
||||||
$CHROOTCMD /usr/bin/chmod 755 /root/nanodesk-installer.sh || error
|
$CHROOTCMD /usr/bin/chmod 755 /root/nanodesk-installer.sh || error
|
||||||
|
|
||||||
|
message "set x-terminal-emulator to lxterminal"
|
||||||
|
$CHROOTCMD /usr/bin/update-alternatives --set x-terminal-emulator /usr/bin/lxterminal
|
||||||
|
|
||||||
### set root password
|
### set root password
|
||||||
message "set root password to 'debian'"
|
message "set root password to 'debian'"
|
||||||
echo -e "debian\ndebian" | $CHROOTCMD passwd root
|
echo -e "debian\ndebian" | $CHROOTCMD /usr/bin/passwd root
|
||||||
|
|
||||||
### add debian user
|
### add debian user
|
||||||
message "create user debian, password 'debian'"
|
message "create user debian, password 'debian'"
|
||||||
echo -e "debian\ndebian\nDebian\n\n\n\n\y\n" | $CHROOTCMD adduser debian
|
echo -e "debian\ndebian\nDebian\n\n\n\n\y\n" | $CHROOTCMD /usr/sbin/adduser debian
|
||||||
|
|
||||||
message "clear /tmp"
|
message "clear /tmp"
|
||||||
$CHROOTCMD /usr/bin/rm -Rf /tmp/* || error
|
$CHROOTCMD /usr/bin/rm -Rf /tmp/* || error
|
||||||
|
|
Loading…
Reference in a new issue