utils setup sequence
This commit is contained in:
parent
68777f0059
commit
dfda824730
|
@ -1020,6 +1020,12 @@ function image_setup_utils {
|
||||||
if [ $INSTALLING_MESH ]; then
|
if [ $INSTALLING_MESH ]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
chroot "$rootdir" apt-get -yq install apt-transport-https
|
||||||
|
chroot "$rootdir" apt-get -yq remove --purge apache*
|
||||||
|
chroot "$rootdir" apt-get -yq dist-upgrade
|
||||||
|
chroot "$rootdir" apt-get -yq install ca-certificates
|
||||||
|
chroot "$rootdir" apt-get -yq install apt-utils
|
||||||
|
chroot "$rootdir" apt-get -yq install awk libdebconfclient0 libbz2-1.0
|
||||||
chroot "$rootdir" apt-get -yq install nfs-kernel-server
|
chroot "$rootdir" apt-get -yq install nfs-kernel-server
|
||||||
|
|
||||||
if [[ $ARCHITECTURE == 'amd64' ]]; then
|
if [[ $ARCHITECTURE == 'amd64' ]]; then
|
||||||
|
@ -1047,11 +1053,6 @@ function image_setup_utils {
|
||||||
rm $rootdir/root/sysctl.conf
|
rm $rootdir/root/sysctl.conf
|
||||||
|
|
||||||
# all the packages
|
# all the packages
|
||||||
chroot "$rootdir" apt-get -yq install apt-transport-https
|
|
||||||
chroot "$rootdir" apt-get -yq remove --purge apache*
|
|
||||||
chroot "$rootdir" apt-get -yq dist-upgrade
|
|
||||||
chroot "$rootdir" apt-get -yq install ca-certificates
|
|
||||||
chroot "$rootdir" apt-get -yq install apt-utils
|
|
||||||
chroot "$rootdir" apt-get -yq install cryptsetup libgfshare-bin obnam sshpass wget avahi-daemon
|
chroot "$rootdir" apt-get -yq install cryptsetup libgfshare-bin obnam sshpass wget avahi-daemon
|
||||||
chroot "$rootdir" apt-get -yq install avahi-utils avahi-discover connect-proxy openssh-server
|
chroot "$rootdir" apt-get -yq install avahi-utils avahi-discover connect-proxy openssh-server
|
||||||
chroot "$rootdir" apt-get -yq install sudo git dialog build-essential avahi-daemon avahi-utils
|
chroot "$rootdir" apt-get -yq install sudo git dialog build-essential avahi-daemon avahi-utils
|
||||||
|
|
|
@ -213,7 +213,6 @@ function initial_setup {
|
||||||
apt-get -yq dist-upgrade
|
apt-get -yq dist-upgrade
|
||||||
apt-get -yq install ca-certificates
|
apt-get -yq install ca-certificates
|
||||||
apt-get -yq install apt-utils
|
apt-get -yq install apt-utils
|
||||||
apt-get -yq install awk
|
|
||||||
apt-get -yq install cryptsetup libgfshare-bin obnam sshpass wget avahi-daemon
|
apt-get -yq install cryptsetup libgfshare-bin obnam sshpass wget avahi-daemon
|
||||||
apt-get -yq install avahi-utils avahi-discover connect-proxy openssh-server
|
apt-get -yq install avahi-utils avahi-discover connect-proxy openssh-server
|
||||||
apt-get -yq install sudo git dialog build-essential avahi-daemon avahi-utils
|
apt-get -yq install sudo git dialog build-essential avahi-daemon avahi-utils
|
||||||
|
|
Loading…
Reference in New Issue