parent
11246769a0
commit
fa97890ebe
1 changed files with 2 additions and 2 deletions
4
mkimg.sh
4
mkimg.sh
|
@ -9,8 +9,8 @@ colorize
|
||||||
|
|
||||||
toggle-systemd-firstboot() {
|
toggle-systemd-firstboot() {
|
||||||
msg2 "Toggle systemd-firstboot..."
|
msg2 "Toggle systemd-firstboot..."
|
||||||
sudo rm ./qcow2/etc/{machine-id,localtime,hostname,shadow,locale.conf}
|
sudo rm -f qcow2/etc/{machine-id,localtime,hostname,shadow,locale.conf}
|
||||||
sudo arch-chroot qcow2 mkdir -p /etc/systemd/system/systemd-firstboot.service.d
|
sudo mkdir -p qcow2/etc/systemd/system/systemd-firstboot.service.d
|
||||||
cat << EOF | sudo tee qcow2/etc/systemd/system/systemd-firstboot.service.d/install.conf
|
cat << EOF | sudo tee qcow2/etc/systemd/system/systemd-firstboot.service.d/install.conf
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=
|
ExecStart=
|
||||||
|
|
Loading…
Add table
Reference in a new issue