14 lines
340 B
Plaintext
14 lines
340 B
Plaintext
|
|
echo "root:passroot" | incus exec z1 -- chpasswd
|
|
|
|
|
|
incus exec z1 -- useradd -m -s /bin/bash user
|
|
echo "user:pass" | incus exec z1 -- chpasswd
|
|
incus exec z1 -- usermod -aG sudo user
|
|
incus exec z1 -- usermod -aG docker user
|
|
|
|
incus stop z1
|
|
incus config set z1 security.nesting true
|
|
incus config set z1 security.privileged true
|
|
incus start z1
|