Michael Prokop
Michael Prokop
I'm not objecting to adding support EFI support for VM creation, but e.g. QEMU/KVM requires a separate efi disk (`-efidisk0 ....`) whereas the VMs as used in VirtualBox don't require...
@paulmenzel ping, are you still interested in getting this submitted? :)
Well, more than happy once grml-debootstrap can be executed without requiring root permissions, but currently we even explicitly check for root permissions, so I don't see the problem regarding the...
@adrelanos yeah, (full disk) encrypted systems are possible, but the way VM images are created is a bit more special, so that might not be entirely straight forward, though technically...
Possibly this could be solved via `unshare --uts`, recent util-linux versions got a nice feature: http://karelzak.blogspot.co.at/2015/04/persistent-namespaces.html Though we'd have to either check for the according unshare feature (which isn't available...
But the `unshare --uts=*` (**with** a paramter) not, and that's what could be useful for us. Unsure whether we get a decent solution with what we have.
Interesting idea, did you give `/usr/bin/env unshare --uts bash` a try with a `chroot "$TARGET" hostname "$HOSTNAME"` or so already, is this enough to solve our problem?
Thanks for playing with this, looks like a possible solution for us then! We'd have to install the uts-bash script at a specific location though which is then used by...
ACK, `/usr/lib/grml-debootstrap/` sounds good to me.
@adrelanos interesting approach, this is also similar to what docker does IIRC. Definitely worth a try!