diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-05-28 19:35:55 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-05-28 19:35:55 +0300 |
commit | 5f68e0b7c2d9511d61565f97ac233894a186305d (patch) | |
tree | f86eccef347cd7d604f30b9c59af0dd55ebbd46a | |
parent | b99f8dfad65f9f1c02cd0b9720ab682c84e63c16 (diff) | |
download | vmdb2-5f68e0b7c2d9511d61565f97ac233894a186305d.tar.gz |
Set root password, username in pc.vmdb
This is now done by raw shell code. Might want to add
a "step" separtely, but that needs design work.
-rw-r--r-- | pc.vmdb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -31,6 +31,11 @@ steps: - cache-rootfs: root-fs unless: rootfs_unpacked + - chroot: root-fs + shell: | + sed -i '/^root:[^:]*:/s//root::/' /etc/passwd + echo pc-vmdb2 > /etc/hostname + - grub: bios root-fs: root-fs root-part: root-part |