From b4bd21c722da92de409962d8b0032760bd39b35b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 25 Mar 2017 09:01:25 +0200 Subject: Configure email --- bootstrap | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index 240f193..0d17ba1 100755 --- a/bootstrap +++ b/bootstrap @@ -147,7 +147,7 @@ if [ "$stage" -eq "1" ]; then pkgs+=",hdparm,btrfs-progs" pkgs+=",net-tools,iproute2,iptables,isc-dhcp-client" - pkgs+=",ifupdown,bridge-utils,dnsmasq,ntp" + pkgs+=",ifupdown,bridge-utils,dnsmasq,ntp,postfix" pkgs+=",iputils-ping,wget,curl" pkgs+=",less" @@ -240,11 +240,11 @@ chpasswd <<<'root:$passwd' # Enable IPv4 forwarding (used for private bridge NAT). # -sed -i 's/^# *\(net.ipv4.ip_forward\).*/\1=1/' /etc/sysctl.conf +sed -i -e 's/^# *\(net.ipv4.ip_forward\).*/\1=1/' /etc/sysctl.conf # Setup locale. We only support en_US.UTF-8. # -sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen +sed -i -e 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen locale-gen --purge cat </etc/default/locale @@ -386,4 +386,5 @@ sudo kvm \ -m 8G \ -netdev 'tap,id=net0,script=./qemu-ifup' \ -device "e1000,netdev=net0,mac=$macaddr" \ - -kernel buildos-image -initrd buildos-initrd + -kernel buildos-image -initrd buildos-initrd \ + -append "buildos.smtp_relay=build2.org buildos.admin_email=admin@build.org" -- cgit v1.1