|
@@ -230,9 +230,14 @@ function initial_setup {
|
230
|
230
|
apt-get -yq install avahi-discover avahi-autoipd iptables dnsutils net-tools
|
231
|
231
|
apt-get -yq install network-manager iputils-ping libnss-mdns libnss-myhostname
|
232
|
232
|
apt-get -yq install libnss-gw-name nano man ntp locales locales-all debconf
|
233
|
|
- apt-get -yq install wireless-tools wpasupplicant usbutils zsh
|
234
|
|
- apt-get -yq install pinentry-curses eatmydata iotop bc hostapd haveged
|
235
|
|
- apt-get -yq install cpulimit screen
|
|
233
|
+ apt-get -yq install wireless-tools wpasupplicant usbutils zsh cpulimit screen
|
|
234
|
+ apt-get -yq install pinentry-curses eatmydata iotop bc hostapd
|
|
235
|
+
|
|
236
|
+ # With some VMs, the hardware cycles counter is emulated and deterministic,
|
|
237
|
+ # and thus predictible, so havege should not be used
|
|
238
|
+ if [[ $ARCHITECTURE != 'qemu'* ]]; then
|
|
239
|
+ apt-get -yq install haveged
|
|
240
|
+ fi
|
236
|
241
|
|
237
|
242
|
if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'i386' ]]; then
|
238
|
243
|
apt-get -yq install grub2 lvm2 initramfs-tools
|