aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenzo Castelli <lcastelli@google.com>2019-12-06 21:45:44 +0000
committerLorenzo Castelli <lcastelli@gmail.com>2019-12-06 16:47:22 -0800
commit2b32c2c46361332dbaa674adcd737bc7d4821e4b (patch)
tree6ef7f8e62a8c4a4fd5acb0e6551b4cb33fd3cab4
parent984d236dfc6dc47d87b129ab4a81559a4a0c4bc7 (diff)
downloadcompute-archlinux-image-builder-2b32c2c46361332dbaa674adcd737bc7d4821e4b.tar.xz
Removes rngd, since GCE machines now provide an rng device.
-rwxr-xr-xbuild-arch-gce5
1 files changed, 2 insertions, 3 deletions
diff --git a/build-arch-gce b/build-arch-gce
index 3f77fe6..48e415f 100755
--- a/build-arch-gce
+++ b/build-arch-gce
@@ -67,8 +67,7 @@ append_gce_repo() {
cp /etc/pacman.conf "$work_dir"
append_gce_repo "$work_dir/pacman.conf"
pacstrap -G -M -C "$work_dir/pacman.conf" -- "$mount_dir" \
- base linux grub dhclient openssh sudo rng-tools google-compute-engine \
- growpart e2fsprogs
+ base linux grub dhclient openssh sudo google-compute-engine growpart e2fsprogs
append_gce_repo "$mount_dir/etc/pacman.conf"
echo "- Configuring fstab."
@@ -136,7 +135,7 @@ arch-chroot -- "$mount_dir" /bin/bash -s -- "$loop_dev" <<-'EOS'
echo "-- Enabling other services."
systemctl --quiet enable \
- dhclient@ens4 rngd growpartfs@- \
+ dhclient@ens4 growpartfs@- \
google-accounts-daemon google-clock-skew-daemon google-instance-setup \
google-network-daemon google-shutdown-scripts google-startup-scripts