virt-sysprep and immutable files
Greetings, I attempted to use virt-sysprep however it failed because the .ssh/authorized_keys file of a user had been (purposely) set immutable. Would this be considered a bug? An obvious work around would be not to clone vms with such files of course. Many thanks, Nick
On Fri, Mar 11, 2016 at 09:50:17PM +0000, Nicholas Westlake wrote:
Greetings,
I attempted to use virt-sysprep however it failed because the .ssh/authorized_keys file of a user had been (purposely) set immutable. Would this be considered a bug? An obvious work around would be not to clone vms with such files of course.
Yes, this is a bug. virt-sysprep should do something other than fail, although I'm not sure what. Can you file it in BZ? What would be better behaviour? What was it trying to do -- inject ssh keys or remove user accounts? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
participants (2)
-
Nicholas Westlake -
Richard W.M. Jones