1
0
out-of-tree/tools/qemu-centos-img/8/generate.sh

10 lines
219 B
Bash
Raw Normal View History

2020-05-30 13:42:47 +00:00
#!/bin/sh
2023-05-11 07:57:25 +00:00
set -eux
2020-05-30 13:42:47 +00:00
cd "$(dirname "$0")"
sudo docker build -t gen-centos8-image .
sudo docker run --privileged -v $(pwd):/shared -t gen-centos8-image
tar -Szcf out_of_tree_centos_8.img.tar.gz out_of_tree_centos_8.img