diff options
author | Glen Barber <gjb@FreeBSD.org> | 2015-02-03 00:07:54 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2015-02-03 00:07:54 +0000 |
commit | 333b98668576f99994456625e7eec59b58c81709 (patch) | |
tree | 1148bb3c270bfed5683216ba9b54c2a9167f770a /release/tools/gce.conf | |
parent | 9d3c01e391007fbb235d43b805df34be44152281 (diff) | |
download | src-333b98668576f99994456625e7eec59b58c81709.tar.gz src-333b98668576f99994456625e7eec59b58c81709.zip |
Move service_enable="YES" rc.conf(5) additions to
VM_RC_LIST and deduplicate.
Evaluate if firstboot_freebsd_update should be enabled
based on UNAME_r, because it is not supported for the
-CURRENT or -STABLE branches.
MFC after: 2 weeks
X-MFC-with: r277458, r277536, r277606, r277609,
r277836
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=278118
Diffstat (limited to 'release/tools/gce.conf')
-rw-r--r-- | release/tools/gce.conf | 18 |
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 |