Displaying 20 results from an estimated 7000 matches similar to: "firstboot? CentOS 3.4"
2020 Feb 11
3
Re: [PATCH 2/2] firstboot: schedule firstboot as delayed task
On Thu, Nov 21, 2019 at 12:04:18PM +0100, Tomáš Golembiovský wrote:
> Instead of running firstboot scripts during early boot schedule a task
> delayed for 1-2 minute.
>
> During the first boot, after virt-v2v conversion, Windows installs the
> drivers injected by virit-v2v. When this installation is finished
> Windows enforces some kind of internal reboot. This unfortunately
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 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
2014 Nov 03
2
[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.
Since firstboot.sh only runs executable files, then remove the
executable attributes before running it, so it will not run again.
Also, remove any file found in the scripts subdirectory, be it just run
or run in a previous boot.
This
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
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
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
2019 Nov 21
4
[PATCH 0/2] Delay firstboot scripts to some later time
When firstboot is used from virt-v2v the scripts, if not fast enough, can get
killed by Windows. After windows installs virtio drivers injected by virt-v2v
it performs some internall reboot, stopping all the running services and
killing any running firstboot script. This is problem mostly for MSI installs
(like qemu-ga that was added recently) that can take several seconds to finish.
This change
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
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
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
2017 Jan 10
2
How to avoid "firstboot" in CentOS 7 kickstart
Dear Experts,
Sorry about taking shortcut and asking everybody...
My question is: how do you avoid "firstboot" screen in latest CentOS 7.3
kickstart.
I have installed about a dozen of CentOS 7 (none of which was 7.3) with
that kickstart file. None of them ever went to firstboot screen on first
boot. Now after kickstart installation of CentOS 7.3 it goes into
firstboot screen showing
2008 Oct 15
1
Problems with firstboot in CentOS 5
I'm trying to customize the firstboot process in CentOS 5 and have
come across a few issues that are driving me nuts. I'm sure they are
all upstream issues, but I don't have a RHEL 5 system to verify
them. I had these customizations working in CentOS 4, but things
that used to work then don't work now.
The main problem is that you can't validate user input. This
2023 Mar 08
1
[V2V PATCH 1/1] convert_windows: add firstboot script to install drivers with pnputil
On Wed, Mar 08, 2023 at 08:05:35PM +0200, Andrey Drobyshev wrote:
> During conversion we copy the necessary drivers to the directory
> "%systemroot%\Drivers\Virtio", adding it to the DevicePath registry
> value. As documented in [1], this should be enough for Windows to find
> device drivers and successfully install them.
>
> However, it doesn't always happen.
2015 Feb 27
5
[PATCH 0/4] firstboot: assorted enhancements
This patchset attempts to address a number of shortcomings in the
firstboot infrastructure I came across while working with v2v conversion
of various Windows VMs.
Roman Kagan (4):
firstboot: consolidate line ending conversion
firstboot: enhance firstboot driver script for Windows
firstboot: make script naming descriptive
convert_windows: split firstboot into steps
2023 Mar 09
1
[V2V PATCH 1/1] convert_windows: add firstboot script to install drivers with pnputil
On 3/8/23 22:52, Richard W.M. Jones wrote:
> On Wed, Mar 08, 2023 at 08:05:35PM +0200, Andrey Drobyshev wrote:
>> During conversion we copy the necessary drivers to the directory
>> "%systemroot%\Drivers\Virtio", adding it to the DevicePath registry
>> value. As documented in [1], this should be enough for Windows to find
>> device drivers and successfully
2023 Mar 08
1
[V2V PATCH 1/1] convert_windows: add firstboot script to install drivers with pnputil
During conversion we copy the necessary drivers to the directory
"%systemroot%\Drivers\Virtio", adding it to the DevicePath registry
value. As documented in [1], this should be enough for Windows to find
device drivers and successfully install them.
However, it doesn't always happen. Commit 73e009c04 ("v2v: windows:
Document use of pnputil to install drivers.") describes
2014 Jan 03
1
[PATCH] virt-v2v: Check for firstboot before unconfiguring XenPV
Although not fatal, _unconfigure_xenpv should report a warning and return
if firstboot is not available (during Windows conversions).
---
lib/Sys/VirtConvert/Converter/Windows.pm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/Sys/VirtConvert/Converter/Windows.pm b/lib/Sys/VirtConvert/Converter/Windows.pm
index 59d273f..ce8b474 100644
--- a/lib/Sys/VirtConvert/Converter/Windows.pm
2017 Dec 05
1
virt-builder: --ssh-inject fails because it is executed before --firstboot-command?
Version 1.34.6 (on Debian Stretch)
Using virt-builder I tried to create a user and inject my ssh key:
virt-builder -v -x centos-7.4 --output testimage --format qcow2
--selinux-relabel --hostname testimage --firstboot-command 'useradd -m
-p "" dummy' --firstboot-command 'chage -d 0 dummy' --ssh-inject dummy
...
[ 16.1] Installing firstboot command: useradd -m -p
2017 Jan 11
1
How to avoid "firstboot" in CentOS 7 kickstart
On Tue, 2017-01-10 at 16:02 -0600, Valeri Galtsev wrote:
> My question is: how do you avoid "firstboot" screen in latest CentOS
> 7.3
> kickstart.
> ...
> Here are relevant lines from my kickstart that I assume should have
> taken
> care of everything (in the order of their appearance, I dropped
> irrelevant
> lines):
>
> firstboot --disable
> eula