Open yaroslav-gwit opened 1 year ago
I could use makefs
instead (which is even better, because it's a part of the base
system):
genisoimage -output "${VM_DS_PATH}/${_name}/seed.iso" -volid cidata -joliet -rock ${_cloud_init_dir}/* > /dev/null 2>&1 || util::err "Can't write seed.iso for cloud-init"
makefs -t cd9660 -o R,L=cidata "${VM_DS_PATH}/${_name}/seed.iso" ${_cloud_init_dir} || util::err "Can't write seed.iso for cloud-init"
genisoimage
is not a part of the main FreeBSD image, so it would be beneficial to implement something native to Golang, in case thegenisoimage
ever gets changed or removed from the PKG repos.