From 3778770ff1fbca985fb47541ad7ce20de96c268a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 11 Nov 2015 00:33:42 +0100 Subject: reproducible: add sixth armhf build node, thanks again to vagrant --- hosts/wbq0-armhf-rb/etc/munin/munin-node.conf | 2 +- hosts/wbq0-armhf-rb/etc/pbuilderrc | 4 ++-- hosts/wbq0-armhf-rb/etc/postfix/main.cf | 4 ++-- hosts/wbq0-armhf-rb/etc/rc.local | 11 +++++++++++ 4 files changed, 16 insertions(+), 5 deletions(-) (limited to 'hosts/wbq0-armhf-rb') diff --git a/hosts/wbq0-armhf-rb/etc/munin/munin-node.conf b/hosts/wbq0-armhf-rb/etc/munin/munin-node.conf index 518abcca..d22b495a 100644 --- a/hosts/wbq0-armhf-rb/etc/munin/munin-node.conf +++ b/hosts/wbq0-armhf-rb/etc/munin/munin-node.conf @@ -63,4 +63,4 @@ host * port 4949 allow ^78\.137\.96\.196 -hostname wbq0-armhf-rb.debian.net +hostname wbd0-armhf-rb.debian.net diff --git a/hosts/wbq0-armhf-rb/etc/pbuilderrc b/hosts/wbq0-armhf-rb/etc/pbuilderrc index f18457c2..dad1de70 100644 --- a/hosts/wbq0-armhf-rb/etc/pbuilderrc +++ b/hosts/wbq0-armhf-rb/etc/pbuilderrc @@ -6,8 +6,8 @@ # read pbuilderrc.5 document for notes on specific options. case $HOSTNAME in jenkins|profitbricks-build?-amd64) MIRRORSITE=http://ftp.de.debian.org/debian ;; - bpi0|cbxi4pro0|hb0|wbq0|odxu4) MIRRORSITE=http://ftp.us.debian.org/debian ;; - *) echo "unsupported host, exiting." ; exit 1 ;; + bpi0|cbxi4pro0|hb0|wbq0|odxu4|wbd0) MIRRORSITE=http://ftp.us.debian.org/debian ;; + *) echo "unsupported host, exiting." ; exit 1 ;; esac EXTRAPACKAGES="" # better list them in bin/reproducible_setup_pbuilder.sh APTCACHE="" diff --git a/hosts/wbq0-armhf-rb/etc/postfix/main.cf b/hosts/wbq0-armhf-rb/etc/postfix/main.cf index 0053b2b3..3d93e6ce 100644 --- a/hosts/wbq0-armhf-rb/etc/postfix/main.cf +++ b/hosts/wbq0-armhf-rb/etc/postfix/main.cf @@ -27,11 +27,11 @@ smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. -myhostname = wbq0-armhf-rb.debian.net +myhostname = wbd0-armhf-rb.debian.net alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname -mydestination = wbq0-armhf-rb.debian.net, localhost +mydestination = wbd0-armhf-rb.debian.net, localhost relayhost = #mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mynetworks = 127.0.0.0/8 diff --git a/hosts/wbq0-armhf-rb/etc/rc.local b/hosts/wbq0-armhf-rb/etc/rc.local index 9493d09d..b069e6ba 100755 --- a/hosts/wbq0-armhf-rb/etc/rc.local +++ b/hosts/wbq0-armhf-rb/etc/rc.local @@ -13,4 +13,15 @@ echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +# disable running in the future for now +exit 0 + +systemctl disable systemd-timesyncd +systemctl disable systemd-timedated +systemctl stop systemd-timesyncd +systemctl stop systemd-timedated +ntpdate -b de.pool.ntp.org +date --set="+400 days" +echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root + exit 0 -- cgit v1.2.3-70-g09d2