Skip to content
Snippets Groups Projects
Commit 0c0ceab8 authored by Nikolai Hartmann's avatar Nikolai Hartmann
Browse files

add image building script

parent d3db8d36
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
img_path="$1"
dnf -y --installroot "$img_path" --releasever=7 install system-release bash yum
rsync -av /var/local/mkosi/mkosi.extra/ "$img_path"
cp /var/local/mkosi/mkosi.postinst "$img_path"
systemd-nspawn -D "$img_path" bash /mkosi.postinst
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment