search for: guest_update_command

Displaying 8 results from an estimated 8 matches for "guest_update_command".

2016 Jan 26
1
[PATCH] customize: Add support for the APK (Alpine Linux) package manager.
...root with + | "apk" -> + sprintf " + apk update + apk add %s + " quoted_args | "apt" -> (* http://unix.stackexchange.com/questions/22820 *) sprintf " @@ -124,6 +129,11 @@ exec >>%s 2>&1 and guest_update_command () = match g#inspect_get_package_management root with + | "apk" -> + sprintf " + apk update + apk upgrade + " | "apt" -> (* http://unix.stackexchange.com/questions/22820 *) sprintf " -- 2.5.0
2016 May 03
1
[PATCH] customize: remove "core" from description of --update
...4edd..83e70a6 100644 --- a/customize/customize_run.ml +++ b/customize/customize_run.ml @@ -320,7 +320,7 @@ exec >>%s 2>&1 g#touch path | `Update -> - message (f_"Updating core packages"); + message (f_"Updating packages"); let cmd = guest_update_command () in do_run ~display:cmd cmd diff --git a/generator/customize.ml b/generator/customize.ml index 55ee252..3d3f978 100644 --- a/generator/customize.ml +++ b/generator/customize.ml @@ -427,7 +427,7 @@ This command performs a L<touch(1)>-like operation on C<FILE>."; { op_n...
2016 Jun 07
1
[PATCH] customize: Add --uninstall operation.
...+ | `UninstallPackages pkgs -> + message (f_"Uninstalling packages: %s") (String.concat " " pkgs); + let cmd = guest_uninstall_command pkgs in + do_run ~display:cmd cmd + | `Update -> message (f_"Updating packages"); let cmd = guest_update_command () in diff --git a/generator/customize.ml b/generator/customize.ml index 3d3f978..496077b 100644 --- a/generator/customize.ml +++ b/generator/customize.ml @@ -214,7 +214,7 @@ installed during the image build using the guest's package manager For an overview on the different ways to install pac...
2016 May 04
1
Re: [PATCH 2/2] customize: Improve the error messages when package manager is unknown or unsupported.
...; + error_unknown_package_manager (s_"--install") > | pm -> > - error (f_"sorry, don't know how to use --install with the '%s' package manager") pm > + error_unimplemented_package_manager (s_"--install") pm > > and guest_update_command () = > match g#inspect_get_package_management root with > @@ -142,10 +143,18 @@ exec >>%s 2>&1 > | "urpmi" -> "urpmi --auto-select" > | "yum" -> "yum -y update" > | "zypper" -> "zyppe...
2016 May 04
3
[PATCH 1/2] inspection: Set package manager to "unknown" if parsing major version failed (RHBZ#1332025).
In cases where parsing the release file failed and so we have an obviously incorrect major version number, don't try to infer the package manager from the major version number. In the bug report, parsing the /etc/redhat-release file of a CentOS 7.1 guest failed, so major version was set to 0, and the package manager was inferred as "up2date". virt-customize then failed with a
2016 May 04
0
[PATCH 2/2] customize: Improve the error messages when package manager is unknown or unsupported.
...st operating system") + error_unknown_package_manager (s_"--install") | pm -> - error (f_"sorry, don't know how to use --install with the '%s' package manager") pm + error_unimplemented_package_manager (s_"--install") pm and guest_update_command () = match g#inspect_get_package_management root with @@ -142,10 +143,18 @@ exec >>%s 2>&1 | "urpmi" -> "urpmi --auto-select" | "yum" -> "yum -y update" | "zypper" -> "zypper -n update -l" +...
2016 Jun 13
1
[PATCH v2] sysprep: Add --network to enable the network (RHBZ#1345813).
...~display:cmd cmd + do_run ~display:cmd ~warn_failed_no_network:true cmd | `SSHInject (user, selector) -> (match g#inspect_get_type root with @@ -362,7 +368,7 @@ exec >>%s 2>&1 | `Update -> message (f_"Updating packages"); let cmd = guest_update_command () in - do_run ~display:cmd cmd + do_run ~display:cmd ~warn_failed_no_network:true cmd | `Upload (path, dest) -> message (f_"Uploading: %s to %s") path dest; diff --git a/sysprep/main.ml b/sysprep/main.ml index 6f331b5..35a259c 100644 --- a/sysprep/main.ml +++ b...
2014 Mar 18
2
[PATCH] customize: Move virt-customize-related code to a separate
There's not going to be an easy way to present this patch. It's huge and interconnected. Anyway, what it does is lay the groundwork for a new tool which I'm calling 'virt-customize'. virt-customize is virt-builder, but without the part where it downloads a template from a respository. Just the part where it customizes the template, that is, installing packages, editing