clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
520 stars 29 forks source link

Add virsh-syprep #1223

Open poussa opened 4 years ago

poussa commented 4 years ago

Please consider adding a tool to help clone multiple VMs and setting them up wo/ logging in to the VM. Other distros has tools like virt-sysprep and virt-builder to customize VMs.

See discussion here:

https://community.clearlinux.org/t/how-set-hostname-on-cloned-vm/1599

bryteise commented 4 years ago

Looks like it virsh-sysprep is ocaml and why it currently isn't being included with our libvirt package.

poussa commented 4 years ago

Why is ocaml an issue? According to @mythi, there is already an ocaml based package included (related to some SGX tool).

bryteise commented 4 years ago

Hah well it seems like that was likely why it wasn't being included but as we do have ocaml now I can update libvirt.

mythi commented 4 years ago

@bryteise virsh-sysprep seems to come from https://github.com/libguestfs/libguestfs which does not look very straightforward to get built...

bryteise commented 4 years ago

It hasn't been so far. I am at the stage of needing to add new build dependencies (hivex which I hadn't heard of before in particular).

bryteise commented 4 years ago

Looks like this wants to have an ocaml package manager (ocamlfind) in order to build which is my current road block. Will have to try and poke at that again tomorrow (this has been a fun week so far =P).