Displaying 20 results from an estimated 13000 matches similar to: "[PATCH] virt-builder.pod: Update Fedora versions"
2017 Apr 10
3
[PATCH] builder: various improvements to the documentation
- convert the Fedora 20 examples to Fedora 25
- convert the yum examples to dnf
- convert the Debian 7 examples to Debian 8
- mention that --core updates all the installed packages, not "core"
ones
- convert i386 to i686 for the Fedora 32bit examples
- mention that autogenerated root passwords are printed on stdout
- mention --get-kernel is deprecated in favour of virt-get-kernel
-
2014 Jan 14
1
[PATCH] builder: test-virt-builder: check some results
Check at least some basic modifications in the image created with
virt-builder.
---
builder/test-virt-builder.sh | 47 +++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 46 insertions(+), 1 deletion(-)
diff --git a/builder/test-virt-builder.sh b/builder/test-virt-builder.sh
index 47d20a4..3c8eb60 100755
--- a/builder/test-virt-builder.sh
+++ b/builder/test-virt-builder.sh
@@ -65,6
2015 Jun 09
0
[PATCH] builder: add a doc snippet about firstboot scripts
Document basic information about them for Linux and Windows guests.
---
builder/virt-builder.pod | 36 ++++++++++++++++++++++++++++++++++++
generator/customize.ml | 6 ++++++
2 files changed, 42 insertions(+)
diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod
index b68845b..f44c165 100644
--- a/builder/virt-builder.pod
+++ b/builder/virt-builder.pod
@@ -805,6 +805,42 @@ In any
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
2014 Jan 16
0
[PATCH 2/3] builder: add --list-format
Add a --list-format which allows to choose which in format should be the
output of --list.
---
builder/cmdline.ml | 11 ++++++++++-
builder/virt-builder.pod | 24 +++++++++++++++++++++---
2 files changed, 31 insertions(+), 4 deletions(-)
diff --git a/builder/cmdline.ml b/builder/cmdline.ml
index f199f03..6d6439f 100644
--- a/builder/cmdline.ml
+++ b/builder/cmdline.ml
@@ -132,6 +132,13 @@
2014 Mar 10
2
[PATCH] builder: complete architecture handling
Add the possibility to choose which architecture use to build the wanted
image (--arch). Since this implies that running commands on the guest is
usually not possible when the architecture is different than the host
one, another new option (--allow-foreign-arch-ops) allows to run
commands nevertheless.
The caching scheme is adapted to account for the architecture (with
--print-cache showing the
2016 Sep 30
2
[PATCH] customize: Add --append-line.
This appends a single line to a file, with some cleverness
involving guessing the right line endings to use.
Also adds a test.
---
builder/test-virt-builder.sh | 57 +++++++++++++++++++++++++++++++++++-
customize/Makefile.am | 2 ++
customize/append_line.ml | 70 ++++++++++++++++++++++++++++++++++++++++++++
customize/append_line.mli | 20 +++++++++++++
customize/customize_run.ml
2016 Oct 18
0
Re: virt-builder and Ubuntu 16.04 Xenial no access issue
On Wed, Oct 19, 2016 at 12:45:19AM +0530, P J P wrote:
> Hello,
>
> I created an Ubuntu 16.04 Xenial guest using virt-builder(1) with
>
> # virt-builder ubuntu-16.04
> -o /var/lib/libvirt/images/ubuntu-16.04.qcow2
> --size 10G --format qcow2
> --firstboot-command 'dpkg-reconfigure openssh-server'
> --arch x86_64
>
>
2017 Aug 26
5
[PATCH 1/2] builder/templates/debian.preseed: enable serial console
Also unify .index-fragment files
---
builder/templates/debian-7.index-fragment | 7 -------
builder/templates/debian-8.index-fragment | 7 -------
builder/templates/debian-9.index-fragment | 18 ++++++------------
builder/templates/debian.preseed | 1 +
builder/templates/make-template.ml | 6 ------
5 files changed, 7 insertions(+), 32 deletions(-)
diff --git
2014 Jan 16
0
[PATCH 3/3] builder: add a JSON output for --list
Simple JSON output for sources and templates, to be able to query them
with no need to parse unstructured outputs like the "--list-format long"
one.
---
builder/cmdline.ml | 3 +-
builder/list_entries.ml | 60 +++++++++++++++++++++++++++++++++++
builder/list_entries.mli | 2 +-
builder/test-virt-builder-list.sh | 67
2016 Jun 07
1
[PATCH] customize: Add --uninstall operation.
---
customize/customize_run.ml | 30 ++++++++++++++++++++++++++++++
generator/customize.ml | 17 +++++++++++++++--
2 files changed, 45 insertions(+), 2 deletions(-)
diff --git a/customize/customize_run.ml b/customize/customize_run.ml
index c9d9d7d..b2506d1 100644
--- a/customize/customize_run.ml
+++ b/customize/customize_run.ml
@@ -151,6 +151,31 @@ exec >>%s 2>&1
| pm ->
2014 Jan 10
3
[PATCH 0/3] Timezone and keyboard layout settings in virt-builder and virt-sysprep.
Setting timezone is easy.
It turns out to be almost impossible to set keyboard layout in
virt-builder sanely, so I have added some examples instead.
Coming up next, setting languages in virt-builder (clue: very very
very hard).
Rich.
2016 Oct 19
1
Re: virt-builder and Ubuntu 16.04 Xenial no access issue
+-- On Tue, 18 Oct 2016, Richard W.M. Jones wrote --+
| I was able to reproduce this myself:
|
| $ virt-builder ubuntu-16.04 --firstboot-command "dpkg-reconfigure openssh-server" --root-password password:123456
|
| $ qemu-system-x86_64 -nodefconfig -display none -machine accel=kvm:tcg -m
| 2048 -boot c -drive file=ubuntu-16.04.img,format=raw,if=ide -netdev
|
2016 Nov 28
2
[PATCH] builder: Rearrange how template-building scripts work.
Create a new directory (builder/template). Integrate all of the
scripts into a single program, so that templates are generated more
consistently.
This also changes how the index file is generated. The script now
generates the index file fragment and saves it under version control,
and then generates the final index file by concatenating these.
(Previously the index was written by hand which was
2017 Aug 26
0
[PATCH 2/2] builder/templates: remove Debian 6 (Squeeze)
it's not on the mirrors anymore, so not installable anymore.
---
builder/templates/debian-6.index-fragment | 32 -------------------------------
builder/templates/make-template.ml | 1 -
2 files changed, 33 deletions(-)
delete mode 100644 builder/templates/debian-6.index-fragment
diff --git a/builder/templates/debian-6.index-fragment b/builder/templates/debian-6.index-fragment
2016 Oct 18
3
virt-builder and Ubuntu 16.04 Xenial no access issue
Hello,
I created an Ubuntu 16.04 Xenial guest using virt-builder(1) with
# virt-builder ubuntu-16.04
-o /var/lib/libvirt/images/ubuntu-16.04.qcow2
--size 10G --format qcow2
--firstboot-command 'dpkg-reconfigure openssh-server'
--arch x86_64
And imported it to libvirt with
# virt-install --import --name ubuntu-xenial --ram 2048
--disk
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.
2014 Feb 21
2
[PATCH] builder: add an arch field to sources read from indexes
Add an architecture field for all the entries in each index, so we know
which architecture they are (not used right now, but will be in the
future).
The problematic part here is properly marking with the correct
architecture: since we only know the current index on libguestfs.org
contains x86_64/amd64 images, entries coming from it are marked that
way; images in all the other indexes
2016 May 18
0
[PATCH v2 04/11] customize: change windows firstboot path
Rename the C:\Program Files\Red Hat\Firstboot folder into the more vendor
independent C:\Program Files\Guestfs\Firstboot.
---
builder/virt-builder.pod | 2 +-
customize/firstboot.ml | 2 +-
v2v/test-v2v-in-place.sh | 2 +-
v2v/test-v2v-virtio-win-iso.sh | 2 +-
v2v/test-v2v-windows-conversion.sh | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff
2016 May 12
0
[PATCH 05/11] customize: add support for pvvxsvc
SUSE VMDP comes with a replacement for rhsrvany.exe named pvvxsvc.exe.
Check for either one of them instead of only rhsrvany.
---
builder/virt-builder.pod | 11 +++++++++--
customize/firstboot.ml | 38 +++++++++++++++++++++++---------------
customize/virt-customize.pod | 6 ++++++
sysprep/virt-sysprep.pod | 6 ++++++
v2v/virt-v2v.pod | 6 ++++++
5 files changed, 50