```shell sudo mkosi -d fedora --hostname image sudo systemd-nspawn \ --bind-ro=/etc/passwd \ --bind-ro=/etc/shadow \ --bind-ro=/etc/group \ --bind=/home \ -i $(pwd)/image.raw \ -u $(id -u) \ -a ``` Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
11 lines
153 B
Text
11 lines
153 B
Text
[Distribution]
|
|
Distribution=fedora
|
|
Release=28
|
|
|
|
[Output]
|
|
Format=raw_squashfs
|
|
#Bootable=yes
|
|
|
|
[Packages]
|
|
Packages=bip
|
|
#BuildPackages=make gcc libcurl-devel
|