From owner-svn-src-projects@FreeBSD.ORG Fri Jan 16 19:38:25 2015 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 537B796F; Fri, 16 Jan 2015 19:38:25 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 344FA638; Fri, 16 Jan 2015 19:38:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0GJcPfV046709; Fri, 16 Jan 2015 19:38:25 GMT (envelope-from gjb@FreeBSD.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0GJcPsk046708; Fri, 16 Jan 2015 19:38:25 GMT (envelope-from gjb@FreeBSD.org) Message-Id: <201501161938.t0GJcPsk046708@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: gjb set sender to gjb@FreeBSD.org using -f From: Glen Barber Date: Fri, 16 Jan 2015 19:38:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r277264 - projects/release-vmimage/release/tools X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2015 19:38:25 -0000 Author: gjb Date: Fri Jan 16 19:38:24 2015 New Revision: 277264 URL: https://svnweb.freebsd.org/changeset/base/277264 Log: Style and line length cleanup. Sponsored by: The FreeBSD Foundation Modified: projects/release-vmimage/release/tools/gce.conf Modified: projects/release-vmimage/release/tools/gce.conf ============================================================================== --- projects/release-vmimage/release/tools/gce.conf Fri Jan 16 19:27:19 2015 (r277263) +++ projects/release-vmimage/release/tools/gce.conf Fri Jan 16 19:38:24 2015 (r277264) @@ -4,7 +4,9 @@ # # Set to a list of packages to install. -export VM_EXTRA_PACKAGES="firstboot-freebsd-update firstboot-pkgs google-cloud-sdk google-daemon panicmail sudo firstboot-growfs google-startup-scripts" +export VM_EXTRA_PACKAGES="firstboot-freebsd-update firstboot-pkgs \ + google-cloud-sdk google-daemon panicmail sudo firstboot-growfs \ + 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" @@ -16,7 +18,7 @@ vm_extra_install_base() { } vm_extra_pre_umount() { - cat << EOF >> ${DESTDIR}/etc/rc.conf + cat << EOF >> ${DESTDIR}/etc/rc.conf console="comconsole" dumpdev="AUTO" ifconfig_vtnet0="SYNCDHCP mtu 1460" @@ -34,7 +36,7 @@ firstboot_growfs_enable="YES" google_startup_enable="YES" EOF - cat << EOF >> ${DESTDIR}/boot/loader.conf + cat << EOF >> ${DESTDIR}/boot/loader.conf autoboot_delay="-1" beastie_disable="YES" loader_logo="none" @@ -50,7 +52,7 @@ EOF ${DESTDIR}/etc/hosts # overwrite ntp.conf - cat << EOF > ${DESTDIR}/etc/ntp.conf + cat << EOF > ${DESTDIR}/etc/ntp.conf server metadata.google.internal iburst restrict default kod nomodify notrap nopeer noquery @@ -61,11 +63,11 @@ restrict -6 ::1 restrict 127.127.1.0 EOF - cat << EOF >> ${DESTDIR}/etc/syslog.conf + cat << EOF >> ${DESTDIR}/etc/syslog.conf *.err;kern.warning;auth.notice;mail.crit /dev/console EOF - cat << EOF >> ${DESTDIR}/etc/ssh/sshd_config + cat << EOF >> ${DESTDIR}/etc/ssh/sshd_config ChallengeResponseAuthentication no X11Forwarding no AcceptEnv LANG @@ -74,11 +76,11 @@ AllowAgentForwarding no ClientAliveInterval 420 EOF - cat << EOF >> ${DESTDIR}/etc/crontab + cat << EOF >> ${DESTDIR}/etc/crontab 0 3 * * * root /usr/sbin/freebsd-update cron EOF - cat << EOF >> ${DESTDIR}/etc/sysctl.conf + cat << EOF >> ${DESTDIR}/etc/sysctl.conf net.inet.icmp.drop_redirect=1 net.inet.ip.redirect=0 net.inet.tcp.blackhole=2 @@ -88,9 +90,9 @@ debug.trace_on_panic=1 debug.debugger_on_panic=0 EOF - sed -E -i '' 's/^([^#].*[[:space:]])on/\1off/' ${DESTDIR}/etc/ttys + sed -E -i '' 's/^([^#].*[[:space:]])on/\1off/' ${DESTDIR}/etc/ttys - touch ${DESTDIR}/firstboot + touch ${DESTDIR}/firstboot return 0 }