Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion oobe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ apk add --no-cache ca-certificates
update-ca-certificates
echo "Certificates setup complete"

echo "Installing iptables..."
apk add --no-cache iptables
echo "iptables installed"

echo "Fixing cgroups..."
apk add --no-cache openrc
sed -i 's/^#rc_cgroup_mode="unified"/rc_cgroup_mode="unified"/' /etc/rc.conf
Expand All @@ -46,7 +50,7 @@ chmod 1777 /var/tmp
echo "Permissions fixed"

echo "Setting version..."
echo "version: 3" > /home/$DEFAULT_USER/version.txt
echo "version: 4" > /home/$DEFAULT_USER/version.txt
chown $DEFAULT_USER:$DEFAULT_USER /home/$DEFAULT_USER/version.txt
echo "Version set"

Expand Down