diff options
author | Radostin Stoyanov <rstoyanov1@gmail.com> | 2017-08-26 21:42:05 +0100 |
---|---|---|
committer | Radostin Stoyanov <rstoyanov1@gmail.com> | 2017-08-28 16:03:59 +0100 |
commit | 2bb76d45f14ae1bce4240bd3c1eeabcb44f663ac (patch) | |
tree | 6d73ffc3effffc67e3ae67f9908a08f3ca5ff436 /tests/virt_builder_source.py | |
parent | 7baf904cffdc4074ba5529b095f98a8c1ed6707a (diff) | |
download | virt-bootstrap.git-2bb76d45f14ae1bce4240bd3c1eeabcb44f663ac.tar.gz virt-bootstrap.git-2bb76d45f14ae1bce4240bd3c1eeabcb44f663ac.tar.xz virt-bootstrap.git-2bb76d45f14ae1bce4240bd3c1eeabcb44f663ac.zip |
Set root password with guestfs-python
Use the python bindings of libguestfs to create additional qcow2 image
which has as backing file the last layer (layer-0.qcow2 for FileSource)
and insert hashed value of given root password in the /etc/shadow file.
Note: This additional qcow2 image is also used to apply UID/GID map.
Diffstat (limited to 'tests/virt_builder_source.py')
0 files changed, 0 insertions, 0 deletions