aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap9
1 files changed, 5 insertions, 4 deletions
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 <<EOF1 >/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"