similar to: Re: Quick question regarding the "--firstboot" parameter within virt-sysprep

Displaying 20 results from an estimated 7000 matches similar to: "Re: Quick question regarding the "--firstboot" parameter within virt-sysprep"

2018 Jan 18
2
Update the "repository URL" links for centos.org website
I had a bit of trouble git cloning the website since the repository URL portion isn't filled in, see: https://git.centos.org/summary/?r=websites/centos.org.git Only until I went onto https://git.centos.org/summary/?r=websites/bugs.centos.org.git was I able to infer on how to actually git clone it. Could someone possibly update the URL for
2016 Aug 04
3
[PATCH v2 1/2] firstboot: rename systemd and sysvinit
Currently we install a systemd service named firstboot.service and a SysV service named virt-sysprep-firstboot. On systems where systemd is the init system and runs with the SysV compatibility, the different names make systemd handle them as different services, and thus trying to run the firstboot script runner twice. Rename both the systemd service and the SysV one to guestfs-firstboot: the new
2012 Sep 21
3
[PATCH] sysprep: handle distro specific sysv scripts
Currently firstboot would only work on redhat-based images. Handle redhat-based, suse-based and debian guests, error out in case of an unknown distro. Update firstboot.sh: - make sure scripts exists and can be executed - add LSB header to avoid insserv warnings later on - run script only if called with "start" Update functions, pass only required options. Signed-off-by: Olaf Hering
2018 Apr 02
1
firstboot randomly can't find script
I am running the stock libguestfs on latest Ubuntu 16.04 (1:1.32.2-4ubuntu2). My guests are also Ubuntu 16.04. I am running virt-sysprep with --firstboot-command 'dpkg-reconfigure openssh-server'. This works 90% of the time, but occasionally when a new guest first starts it can't find the script: ~# cat virt-sysprep-firstboot.log /etc/init.d/virt-sysprep-firstboot start Scripts
2017 Mar 14
2
Re: virt-customize fail to inject firstboot script when running it from script.
We are enforcing #!/bin/bash at the beginning of the scripts and bash is installed in every guest. Regards, Peter 2017. márc. 14. dátummal, 16:14 időpontban Richard W.M. Jones <rjones@redhat.com> írta: >> On Tue, Mar 14, 2017 at 03:45:34PM +0200, Keresztes Péter-Zoltán wrote: >> I am running libguestfs version 1.34.2 > > As far as I know, this version should contain
2016 Aug 03
2
[PATCH] firstboot: rename systemd service file
Currently we install a systemd service named firstboot.service and a SysV service named virt-sysprep-firstboot. On systems where systemd is the init system and runs with the SysV compatibility, the different names make systemd handle them as different services, and thus trying to run the firstboot script runner twice. Rename the systemd service to virt-sysprep-firstboot as well: other than being
2016 Aug 03
1
Re: [PATCH] firstboot: rename systemd service file
On Wednesday, 3 August 2016 16:39:46 CEST Richard W.M. Jones wrote: > On Wed, Aug 03, 2016 at 05:35:14PM +0200, Pino Toscano wrote: > > Currently we install a systemd service named firstboot.service and a > > SysV service named virt-sysprep-firstboot. On systems where systemd is > > the init system and runs with the SysV compatibility, the different > > names make
2012 Sep 21
1
distro support in sysprep/firstboot.ml
While hacking in sysprep/firstboot.ml, I wonder wether the current code will work in anything but redhat-based distros. Is /etc/rc.d/rc3.d/99something a script that would be executed in a Debian based system for example? Olaf
2017 Mar 14
2
Re: virt-customize fail to inject firstboot script when running it from script.
I am running libguestfs version 1.34.2 The issue is the following. When I start the vm with virt-log I see this: Mar 13 17:33:30 multi6 firstboot.sh[358]: /usr/lib/virt-sysprep/firstboot.sh start Mar 13 17:33:30 multi6 cron[359]: (CRON) INFO (Running @reboot jobs) Mar 13 17:33:30 multi6 firstboot.sh[358]: Scripts dir: /usr/lib/virt-sysprep/scripts Mar 13 17:33:30 multi6 firstboot.sh[358]: ===
2012 Aug 16
5
[PATCH 0/4] Add customization capabilities to virt-sysprep
In the TODO file there's a discussion of perhaps writing a new 'virt-customize' tool. I think it's probably better (or at any rate, easier) to just add this functionality into virt-sysprep. That is what this small series of patches aims to achieve. Note these are not very well tested at the moment. The first patch adds a generic and useful '--firstboot' flag. The
2014 Nov 04
1
[PATCH] customize: firstboot: fix Linux log output
Pass -a to each tee invocation, otherwise just the last one (so only for the last script executed) will appear in the log file. --- customize/firstboot.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/customize/firstboot.ml b/customize/firstboot.ml index 89821f3..0b95708 100644 --- a/customize/firstboot.ml +++ b/customize/firstboot.ml @@ -50,8 +50,8 @@ d=%s/scripts
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
2014 Nov 03
1
[PATCH] customize: firstboot: make sure to run Linux scripts only once
If a script does not finish, hangs, etc, it would be executed again at the next boot, since the injected firstboot.sh helper removes it only after it finished. Before executing a script, move it to another internal subdirectory (scripts-done) and execute it from there, so it is not run again by firstboot.sh. The downside is that now scripts are executed only once at all, so if a script fails it
2017 Mar 13
2
virt-customize fail to inject firstboot script when running it from script.
Hello, We have a nodejs app which is injecting first boot scripts using virt-customize however the exact same commands are working when triggered manually. Here is the debug output of the commands Regards, Peter [ 0.0] Examining the guest ... libguestfs: trace: set_network true libguestfs: trace: set_network = 0 libguestfs: trace: add_drive
2012 May 22
1
[PATCH] TODO: sysprep todo list clearance
Remove the implemented features from TODO list. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- TODO | 3 --- 1 file changed, 3 deletions(-) diff --git a/TODO b/TODO index 93f8787..b2d53d7 100644 --- a/TODO +++ b/TODO @@ -377,15 +377,12 @@ virt-sysprep ideas ------------------ - other Spacewalk / RHN IDs (?) - - Kerberos keys - Puppet registration - Windows
2013 Dec 12
2
Re: [PATCH] sysprep: handle distro specific sysv scripts
Hello, (sorry for the late reply, I was not involved in libugestfs until recently.) On Friday 21 September 2012 20:00:34 Olaf Hering wrote: > Currently firstboot would only work on redhat-based images. > Handle redhat-based, suse-based and debian guests, error out in case > of an unknown distro. > Update firstboot.sh: > - make sure scripts exists and can be executed > - add
2006 Apr 19
0
Sysprep & Samba
Hi, I'm using Samba version 3.0.14a-r2 on Gentoo Linux as a PDC for a classroom environment. The server and the classroom are in different subnets, but on the same local LAN. The broadcast messages are not forwarded, so I have enabled a single machine in the classroom subnet to act as a WINS proxy. I am using Ghost to image the classroom machines which uses sysprep to prepare the
2020 May 04
7
[PATCH 0/4] sysprep: add FreeIPA offline unenrollment (RHBZ#1789592)
This patch series adds a new virt-sysprep operation to offline unenroll a guest from FreeIPA. It does so by removing some configuration files and certificates. It requires a change in libguestfs-common before the series is applied. Pino Toscano (4): customize: port do_run to run_in_guest_command sysprep: add a update_system_ca_store side effect sysprep: ca-certificates: request system CA
2016 Jun 13
1
[PATCH v2] sysprep: Add --network to enable the network (RHBZ#1345813).
In commit ae6f726ecc3bc1b67fd76e51a7b1e1a33d4dcfc0 we started to use the virt-customize code to replace various virt-sysprep operations. This had the effect of adding many more possible operations to virt-sysprep, but some of them (specifically --install) did not work unless the appliance network is enabled. It was not enabled in virt-sysprep, so these operations never worked. This change does
2013 Sep 05
6
[PATCH 1/5] sysprep: remove /var/log/audit/audit.log
audit.log is already included in /var/log/audit/*. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> --- sysprep/sysprep_operation_logfiles.ml | 1 - 1 file changed, 1 deletion(-) diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml index 842b855..cdfe8fc 100644 --- a/sysprep/sysprep_operation_logfiles.ml +++