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
Richard W.M. Jones
2016-Mar-12 19:11 UTC
Re: [Libguestfs] virt-sysprep and immutable files
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
Reasonably Related Threads
- Re: Quick question regarding the "--firstboot" parameter within virt-sysprep
- [PATCH] virt-sysprep: add the hostname and net_hwaddr support for rhel
- Issue with virt-sysprep
- [PATCH V3] virt-sysprep:add ipconfig for preparation
- [RFC PATCH] virt-sysprep:add ipconfig for preparation