Displaying 20 results from an estimated 10000 matches similar to: "virt-sysprep and immutable files"
2016 Oct 07
1
Re: Quick question regarding the "--firstboot" parameter within virt-sysprep
On Fri, Oct 07, 2016 at 04:42:21PM -0400, Charlie Drage wrote:
> I apologize if this is not the appropriate place to contact you..
Adding the mailing list.
> Got a weird issue!
>
> So when I use --firstboot via virt-sysprep on a host, it's totally fine.
>
> However..
>
> In this scenario:
> 1. virt-sysprep an offline image
> 2. transfer said image from one
2012 Feb 29
1
[PATCH] virt-sysprep: add the hostname and net_hwaddr support for rhel
Add the support for rhel.
Change the hostname and delete the HWADDR for rhel.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
clone/virt-sysprep.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/clone/virt-sysprep.in b/clone/virt-sysprep.in
index 833a31d..d505532 100644
--- a/clone/virt-sysprep.in
+++ b/clone/virt-sysprep.in
@@ -273,7 +273,7 @@ fi
2014 Jan 07
2
Issue with virt-sysprep
Hi,
I'm trying to run virt-sysprep against a disk in Ceph RBD storage but I
appear to be unable to do so.
The commands (bold) and outputs I've had are:
On Ceph node:
*virt-sysprep -a rbd://localhost/libvirt-pool/ubuntu-12-04-beanstalk001*
libguestfs: new guestfs handle 0x113b060
rbd://localhost/libvirt-pool/ubuntu-12-04-beanstalk001: No such file or
directory
libguestfs: trace: close
2012 Mar 14
3
[PATCH V3] virt-sysprep:add ipconfig for preparation
V1->V2: add the documentation.
V2->V3: change the split sign from ":" to "@" for IPv6.
Add the the ipconfig for vir-prep.
Usage like below:
[root at Allen ~]# virt-sysprep --ipconfig="eth0:192.168.1.2,255.255.255.0,192.168.1.1" --enable=ipconfig -d clone-6u1
OR
[root at Allen ~]# virt-sysprep -d clone-6u1
Signed-off-by: Wanlong Gao <gaowanlong at
2012 Mar 04
1
[RFC PATCH] virt-sysprep:add ipconfig for preparation
Hi Rich:
I just send a patch to request for your comments,
then will do further work about this.
things like this:
[root at Allen ~]# virt-sysprep --ipconfig="eth0:192.168.1.2,255.255.255.0,192.168.1.1" --enable=ipconfig -d clone-6u1
OR
[root at Allen ~]# virt-sysprep -d clone-6u1
Please comments.
Thanks
-Wanlong Gao
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
2014 Apr 08
2
Problem with virt-sysprep
Hi there,
I was wondering if you could help me with a problem I'm having with
virt-sysprep. It's a recurrent problem running virt-sysprep:
Examining the guest ...
Fatal error: exception Guestfs.Error("guestfs_launch failed.
See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
and/or run 'libguestfs-test-tool'.")
So I ran virt-sysprep and
2012 Apr 06
2
[PATCH] virt-sysprep:add logging feature
Hi Rich,
I tried to implement the logging feature, but I can't though
compiling with this patch now, could you please give me
some comments?
The error message is below,
---
ocamlfind ocamlopt -g -warn-error CDEFLMPSUVYZX -package unix -I ../src/.libs -I ../ocaml -c sysprep_operation.ml -o sysprep_operation.cmx
File "sysprep_operation.ml", line 1, characters 0-1:
Error: The
2013 Nov 05
2
Problem using virt-sysprep with RBD images
Hello,
I'm having a problem when trying to use virt-sysprep against vms that have
rbd disk images. When I run virt-sysprep I get the following error:
>> root@kitt:~/libguestfs-1.22.4# virt-sysprep -d server-clone-test
--firstboot firstboot.sh
>> Examining the guest ...
>> Fatal error: exception Guestfs.Error("rbd: image name must begin with a
'/'")
My
2006 Jan 19
3
ownership of authorized_keys
Hi,
I would like to make it impossible for users to change the
contents of the authorized_keys-file.
I just found out about the sshd_config setting:
AuthorizedKeysFile /etc/ssh/authorized_keys/%u
But even in that case that file has to be owned by the user,
unless I set ``StrictModes no'' which would allow other
nastyness. I would like to request that that file could also be
owned by
2017 May 29
1
IRC question: the proper way to break multiple lines when using virt-sysprep --commands-from-file?
18:07 < _ng> What is the proper way to break mult lines when using
virt-sysprep --write option, with --commands-from-file?
(I don't mean escaping, but actually writing new lines to
the file)
You can use \ as a continuation character, as it mentions
in the manual.
Using virt-builder (just because it's a bit easier to demonstrate, but
2014 Aug 19
2
Using virt-sysprep and virt-customize with LXC containers: is it possible?
I'm setting up a system to run LXC containers with ZFS on Linux (Ubuntu
14.04). I intend to set up a base image which I'd like to clone to create
other containers from. virt-sysprep and virt-customize seem ideal for the
task: I obviously could mount and work with the rootfs from each container
directly, but the libguestfs tools have a bunch of pre-existing recipes
that would surely be much
2013 Nov 06
1
Re: Problem using virt-sysprep with RBD images
Hello Rich,
Interesting. Thanks for the explanation.
When you specify an rbd on the command line for virt-sysprep, do you expect
the path to include the monitor address?
e.g.:
>> virt-sysprep -a rbd://host-name/pool-name/device-name
If I understand correctly, libvirt is able to understand the ceph
configuration, so when I create a device with qemu-img I only specify the
protocol and
2012 Sep 19
1
virt-sysprep cron-spool, no at jobs
sysprep/sysprep_operation_cron_spool.ml claims to remove at jobs, but
those are not stored in /var/spool/cron/ on my system. Is the
description wrong, or do other distros store the spool data in the cron
dir?
For me it looks like this (000110156d537 is currently executed):
root at probook:~ # find /var/spool/at* -ls
67540 1 drwx------ 2 at at 1024 Sep 19 18:55
2012 May 25
1
virt-sysprep on Windows Guest
Hi Rich, folks,
I wont to start doing the windows guest support for virt-sysprep,
Any thoughts?
What do you think should be prepared on a new cloned windows guest?
Thanks,
Wanlong Gao
2014 Jan 21
2
virt-builder & virt-sysprep: Avoiding SELinux relabelling
A common problem that people have with virt-builder and virt-sysprep
is which guests that use SELinux, like Fedora and RHEL. In both cases
we touch /.autorelabel in the guest, which means the guest has to
reboot once during its first boot.
Recap: SELinux file labels
--------------------------
SELinux requires that files have labels. Access to a file is
controlled by the label on that file.
2018 Sep 03
2
Immutable backing files
Hi list,
suppose I have an immutable (ie: due to a read-only snapshot) backing file.
After creating an overlay file with "qemu-img create -f qcow2 -o
backing_file=/path/to/immutable/file.img current.qcow2", libvirt refuse
to start the virtual machine and exits with an error stating "Could not
open backing file /path/to/immutable/file.img: Permission denied".
From my
2014 Dec 05
3
[PATCH] customize, sysprep: add a short SELinux note
Add a short paragraph about SELinux, mostly to point to the
documentation about it provided in the documentation of virt-builder.
---
customize/virt-customize.pod | 8 ++++++++
sysprep/virt-sysprep.pod | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/customize/virt-customize.pod b/customize/virt-customize.pod
index a666be7..8dbdfef 100644
--- a/customize/virt-customize.pod
+++
2012 Jul 25
2
[PATCH 1/2] sysprep: remove the auto generated abrt data
remove the automatically generated abrt data.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
po/POTFILES-ml | 1 +
sysprep/Makefile.am | 2 ++
sysprep/sysprep_operation_abrt_data.ml | 47 ++++++++++++++++++++++++++++++++++
3 files changed, 50 insertions(+)
create mode 100644 sysprep/sysprep_operation_abrt_data.ml
diff --git
2012 Sep 03
2
[PATCH] sysprep: remove hostname from ifcfg-*
Remove hostname from network interface configuration.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
po/POTFILES-ml | 1 +
sysprep/Makefile.am | 1 +
sysprep/sysprep_operation_net_hostname.ml | 58 +++++++++++++++++++++++++++++++
3 files changed, 60 insertions(+)
create mode 100644 sysprep/sysprep_operation_net_hostname.ml
2016 Feb 11
1
[PATCH] fish, sysprep: run FUSE-related tests only when FUSE is available
They will fail anyway in that case, so run them only when the FUSE
support is built in.
---
fish/Makefile.am | 6 +++++-
sysprep/Makefile.am | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/fish/Makefile.am b/fish/Makefile.am
index fc7c729..5ffa0f1 100644
--- a/fish/Makefile.am
+++ b/fish/Makefile.am
@@ -297,7 +297,6 @@ TESTS += \
test-find0.sh \
test-inspect.sh