|
|
@ -45,9 +45,18 @@ http_port 3142" >> /etc/squid/squid.conf |
|
|
|
# MAJ et Install |
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get -y upgrade |
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade |
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y apg curl git sudo unzip rsync firefox-esr tcpdump net-tools mousepad wireshark swapspace whois python3-lxc lxc python3-pygraphviz python3-pil python3-yaml imagemagick btrfs-progs docker-registry # could be with --no-install-recommends |
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y linux-headers-`dpkg --print-architecture` virtualbox-guest-additions-iso dkms apg curl git sudo unzip rsync firefox-esr tcpdump net-tools mousepad wireshark swapspace whois python3-lxc lxc python3-pygraphviz python3-pil python3-yaml imagemagick btrfs-progs docker-registry # could be with --no-install-recommends |
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y xfce4 lightdm xfce4-terminal xserver-xorg gitk # needs to install recommends |
|
|
|
|
|
|
|
# vbox guest utils |
|
|
|
#VERSION=`curl https://download.virtualbox.org/virtualbox/LATEST-STABLE.TXT` |
|
|
|
#curl https://download.virtualbox.org/virtualbox/$VERSION/VBoxGuestAdditions_$VERSION.iso -o /tmp/vbox.iso |
|
|
|
#mount -o loop /tmp/vbox.iso /mnt |
|
|
|
mount -o loop /usr/share/virtualbox/VBoxGuestAdditions.iso /mnt |
|
|
|
/mnt/VBoxLinuxAdditions.run || true # vboxsf module will fail to load before reboot, expected behavior |
|
|
|
/sbin/rcvboxadd quicksetup all || true |
|
|
|
umount /mnt |
|
|
|
|
|
|
|
ssh-keygen -t rsa -b 4096 -N '' <<<$'\ny' |
|
|
|
rsync /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys |
|
|
|
|
|
|
|