diff --git a/01-basic.sh b/01-basic.sh index 30a88c8..356a720 100755 --- a/01-basic.sh +++ b/01-basic.sh @@ -7,7 +7,7 @@ apt-get -y purge bsdmainutils dictionaries-common emacsen-common iamerican ibrit # Install useful packages apt-get -y update -apt-get -y --no-install-recommends install bash-completion ca-certificates git ntp openssl sudo unzip vim +apt-get -y --no-install-recommends install bash-completion ca-certificates git htop ntp openssl sudo unzip vim ###### @@ -17,12 +17,14 @@ apt-get -y --no-install-recommends install bash-completion ca-certificates git n # Install OpenSSH server apt-get -y --no-install-recommends install openssh-server mkdir ~/.ssh - -# Copy profile files -cp ${SOURCE_DIR}/basic/root/.bashrc /root/.bashrc -cp ${SOURCE_DIR}/basic/root/.vimrc /root/.vimrc cp ${SOURCE_DIR}/basic/root/.ssh/authorized_keys /root/.ssh/authorized_keys +# Copy profile files and settings +mkdir -p /root/.config/htop +cp ${SOURCE_DIR}/basic/root/.bashrc /root/.bashrc +cp ${SOURCE_DIR}/basic/root/.config/htop/htoprc /root/.config/htop/htoprc +cp ${SOURCE_DIR}/basic/root/.vimrc /root/.vimrc + # Remove default user deluser --remove-all-files user 2>/dev/null diff --git a/99-cleanup.sh b/99-cleanup.sh index 0799b0b..1427e4c 100755 --- a/99-cleanup.sh +++ b/99-cleanup.sh @@ -1,7 +1,7 @@ #!/bin/bash # Remove packages not necessary for release -apt-get -y purge git openssh-server vim +apt-get -y purge bash-completion git htop openssh-server vim apt-get -y --purge autoremove # Clean package cache diff --git a/basic/root/.config/htop/htoprc b/basic/root/.config/htop/htoprc new file mode 100644 index 0000000..f4928d5 --- /dev/null +++ b/basic/root/.config/htop/htoprc @@ -0,0 +1,4 @@ +hide_kernel_threads=0 +highlight_threads=1 +tree_view=1 +update_process_names=1