devcontainer: add /home folder
useradd breaks if /home doesn't exist
This commit is contained in:
parent
3f1e51533a
commit
cc193359bb
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ let
|
||||||
ln -s /nix/var/nix/profiles/default/bin/bash bin/bash
|
ln -s /nix/var/nix/profiles/default/bin/bash bin/bash
|
||||||
|
|
||||||
# setup shadow, bashrc
|
# setup shadow, bashrc
|
||||||
|
mkdir home
|
||||||
cp -r ${./root/etc} etc
|
cp -r ${./root/etc} etc
|
||||||
chmod +w etc etc/group etc/passwd etc/shadow
|
chmod +w etc etc/group etc/passwd etc/shadow
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue