virtualisation/lxc.md
... ...
@@ -127,17 +127,17 @@ lxc-console -n powerzone
127 127
128 128
## alpine linux config
129 129
```
130
-apk update
131
-apk upgrade
130
+/sbin/apk update
131
+/sbin/apk upgrade
132 132
passwd
133
-adduser pyratebeard
134
-adduser pyratebeard wheel
135
-apk add doas vim openssh
136
-vim /etc/doas.conf
137
- permit nopass pyratebeard
138
-rc-update add sshd
139
-rc-service sshd start
140
-rc-status
133
+busybox adduser pyratebeard
134
+busybox adduser pyratebeard wheel
135
+apk add doas vim openssh zsh
136
+echo "permit nopass pyratebeard" | tee -a /etc/doas.d/doas.conf
137
+ln -s /bin/zsh /usr/bin/zsh
138
+/sbin/rc-update add sshd
139
+/sbin/rc-service sshd start
140
+/sbin/rc-status
141 141
```
142 142
logout (`ctrl-a q` to exit console)
143 143