aboutsummaryrefslogtreecommitdiff
path: root/release/tools/gce.conf
diff options
context:
space:
mode:
Diffstat (limited to 'release/tools/gce.conf')
-rw-r--r--release/tools/gce.conf18
1 files changed, 9 insertions, 9 deletions
diff --git a/release/tools/gce.conf b/release/tools/gce.conf
index 216a41915b86..4f8ca7f0d7a4 100644
--- a/release/tools/gce.conf
+++ b/release/tools/gce.conf
@@ -9,7 +9,8 @@ export VM_EXTRA_PACKAGES="firstboot-freebsd-update firstboot-pkgs \
google-startup-scripts"
# Set to a list of third-party software to enable in rc.conf(5).
-export VM_RC_LIST="google_accounts_manager ntpd"
+export VM_RC_LIST="google_accounts_manager ntpd sshd firstboot_growfs \
+ firstboot_pkgs google_startup"
vm_extra_install_base() {
echo 'search google.internal' > ${DESTDIR}/etc/resolv.conf
@@ -22,17 +23,16 @@ vm_extra_pre_umount() {
dumpdev="AUTO"
ifconfig_vtnet0="SYNCDHCP mtu 1460"
ntpd_sync_on_start="YES"
-ntpd_enable="YES"
-sshd_enable="YES"
-google_accounts_manager_enable="YES"
-#disabled until I can figure out why the reboot for updates is hanging
-#firstboot_freebsd_update_enable="YES"
-#firstboot_pkgs_enable="YES"
+case \$(uname -r) in
+ *-BETA*|*-RC*|*-RELEASE*)
+ firstboot_freebsd_update_enable="YES"
+ ;;
+ *)
+ ;;
+esac
# need to fill in something here
#firstboot_pkgs_list=""
panicmail_autosubmit="YES"
-firstboot_growfs_enable="YES"
-google_startup_enable="YES"
EOF
cat << EOF >> ${DESTDIR}/boot/loader.conf