Displaying 20 results from an estimated 500 matches similar to: "Exposing environment variables to Facter"
2015 Nov 11
2
[PATCH 1/2] dib: Make the interface between cmdline.ml and dib.ml explicit.
---
dib/Makefile.am | 5 ++-
dib/cmdline.ml | 49 +++++++++++++++++++++---
dib/cmdline.mli | 51 +++++++++++++++++++++++++
dib/dib.ml | 113 ++++++++++++++++++++++++++++++--------------------------
4 files changed, 158 insertions(+), 60 deletions(-)
create mode 100644 dib/cmdline.mli
diff --git a/dib/Makefile.am b/dib/Makefile.am
index 0786d64..ad1fd6a 100644
--- a/dib/Makefile.am
+++
2014 Jul 08
2
Re: How to get uuid info inside a lxc container created by libvirt_lxc
于 2014年07月08日 12:06, Eric Blake 写道:
> On 07/07/2014 10:02 PM, Qiang Guan wrote:
>> Hi ,
>>
>> Is there anyway to get uuid info inside a lxc container which is created
>> by libvirt_lxc?
>>
>> For kvm, we can use dmidecode or lshw to get this info inside vm. Is
>> there any tools
>> to do this thing for libvirt lxc?
> Per the docs:
>
2009 Mar 25
1
Pipe creation problem: From Java app using rsync + ssh on windows with cygwin
Hello,
I'm having trouble calling rsync from java on windows vista with cygwin
installed.
Its strange as pasting the exact same command into a command shell works
fine.
My test java call looks like this.
*
String[] envVars = {"PATH=c:/cygwin/bin;%PATH%"};
File workingDir = new File("c:/cygwin/bin/");
Process p = Runtime.getRuntime().exec("c:/cygwin/bin/rsync.exe
2015 Nov 11
0
[PATCH 2/2] dib: Turn a few progress messages into info messages.
---
dib/dib.ml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/dib/dib.ml b/dib/dib.ml
index 4a0c9ee..06a1f67 100644
--- a/dib/dib.ml
+++ b/dib/dib.ml
@@ -467,7 +467,7 @@ let main () =
let elements =
if cmdline.is_ramdisk then [cmdline.ramdisk_element] @ elements
else elements in
- message (f_"Elements: %s") (String.concat " "
2013 Jun 26
1
use of exec in puppet
Hi,
I''ve tried to to exec function in puppet for enabling module for apache.
Here is the code that I am using:
class apache::mod {
exec { "a2enmod" :
command => "a2enmod proxy_http",
path => "/usr/sbin/",
notify => Class["apache::service"],
require => Class["apache::install"],
}
}
But in agent I''m getting the
2014 Jul 08
2
How to get uuid info inside a lxc container created by libvirt_lxc
Hi ,
Is there anyway to get uuid info inside a lxc container which is created
by libvirt_lxc?
For kvm, we can use dmidecode or lshw to get this info inside vm. Is
there any tools
to do this thing for libvirt lxc?
Thanks for any help~
--
------------
Jackie
Best Regards
2017 Mar 22
0
[PATCH 4/5] dib: require a Python interpreter
d-i-b 2.0 is written in Python, and thus it passes the information about
the interpreter used for it (sys.executable) to the scripts that need
it; this mechanism replaces the old discovery of what is the default
Python interpreter in the system.
Since we are not Python-based, look for 'python' and use it as default
interpreter, with the --python command line option to set a different
one.
2017 Mar 22
7
[PATCH 0/5] dib: initial work to support d-i-b 2.0
Hi,
this series start to implement some of the changes needed to support
d-i-b 2.0; normal VM distro builds seem to work correctly, ramdisk
builds are still broken and require more efforts.
Thanks,
Pino Toscano (5):
dib: implement get_image_element_array stuff
dib: export IMAGE_BLOCK_DEVICE_WITHOUT_PART
dib: extract get_required_tool out of require_tool
dib: require a Python interpreter
2015 May 29
0
[PATCH v3] RFC: New virt-dib tool
virt-dib is a new tool to run the elements of diskimage-builder using
libguestfs.
---
More or less stable now, although with debug stuff here and there;
needs initial review, for being included. I would like to have it
reviewed at this point, so it can be broadly used.
TODO items open:
- improve the documentation
- review
- getting more testing (although it has been successfully tested for
2015 Jul 03
1
[PATCH v5] New tool: virt-dib
virt-dib is a new tool to run the elements of diskimage-builder using
libguestfs.
---
.gitignore | 5 +
Makefile.am | 3 +-
appliance/packagelist.in | 12 +
configure.ac | 1 +
dib/Makefile.am | 144 ++++++++
dib/cmdline.ml | 242 +++++++++++++
dib/dib.ml | 920 +++++++++++++++++++++++++++++++++++++++++++++++
2016 Aug 03
0
[PATCH] dib: rework run of extra-data.d hooks (RHBZ#1362354)
Instead of running them before lanching the appliance with the disks and
then uploading the result after root.d hooks run, mount the root in the
local temporary directory using FUSE and then run the hooks on the
guest. Other than being closer to what diskimage-builder does, it also
avoids issues with the extra-data.d scripts assuming to find things
already, and we don't error out while trying
2015 Mar 31
0
[PATCH] WIP: New virt-dib tool
virt-dib is a new tool to run the elements of diskimage-builder using
libguestfs.
---
Work in progress (debug stuff here and there), although I've submitting
it for initial review, for being included later when polished for good.
TODO items open:
- move Uname from builder to mllib
- improve the documentation
- review
- getting more testing (although it has been successfully tested for
2017 Feb 02
7
[PATCH 0/6] dib: various improvements
Hi,
this series improves virt-dib, adding some upstream changes, and
refactoring the handling of output formats.
Thanks,
Pino Toscano (6):
dib: clear up "already provided" message
dib: add --checksum
dib: pass custom mkfs options after the filesystem type
dib: refactor output formats handling
dib: clarify "output:" lines in --machine-readable documentation
dib:
2015 Jun 16
2
[PATCH v4] RFC: New tool: virt-dib
virt-dib is a new tool to run the elements of diskimage-builder using
libguestfs.
---
I would like to have it reviewed at this point, so it can be used.
Documentation and code can be improved and polished following feedback.
.gitignore | 5 +
Makefile.am | 3 +-
appliance/packagelist.in | 7 +
configure.ac | 1 +
dib/Makefile.am | 144
2014 Jul 08
0
Re: How to get uuid info inside a lxc container created by libvirt_lxc
At Tue, 08 Jul 2014 12:19:40 +0800,
Qiang Guan wrote:
>
>
> 于 2014年07月08日 12:06, Eric Blake 写道:
> > On 07/07/2014 10:02 PM, Qiang Guan wrote:
> >> Hi ,
> >>
> >> Is there anyway to get uuid info inside a lxc container which is created
> >> by libvirt_lxc?
> >>
> >> For kvm, we can use dmidecode or lshw to get this info inside
2012 May 22
1
Is there an inverse function of Sys.getenv()
Using "Sys.getenv()",
I got a list of 380 environment variables...
Now I open a new R session,
how do I set those environment variables in my new R session using
"Sys.setenv()"?
There is no batch function for "Sys.setenv()"?
Is there an import/export environment variables function?
Basically I want to export all the environment variables from one R
session and
2016 Aug 03
3
[PATCH] mllib: move _exit from v2v as Exit module
Move the OCaml binding to C _exit to an own module.
Just code motion, adapting v2v in the process.
---
docs/C_SOURCE_FILES | 2 +-
mllib/Makefile.am | 5 ++++-
mllib/exit-c.c | 33 +++++++++++++++++++++++++++++++++
mllib/exit.ml | 19 +++++++++++++++++++
mllib/exit.mli | 20 ++++++++++++++++++++
v2v/Makefile.am | 1 -
v2v/changeuid-c.c | 33
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
Thanks for the interesting puzzle to crunch!
Looking at these few bread-crumbs, I wager an educated guess that this
loops in `sendcmd()` (where CLI child processes talk to a daemonized copy
which tracks the timers for events), around here:
https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L583-L626
for the daemon and here for the child:
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
Thanks for the interesting puzzle to crunch!
Looking at these few bread-crumbs, I wager an educated guess that this
loops in `sendcmd()` (where CLI child processes talk to a daemonized copy
which tracks the timers for events), around here:
https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L583-L626
for the daemon and here for the child:
2012 Jan 30
2
SLES11: facter without arguments produces Error: uninitialized constant Facter::IPAddress
Hi, I run into problems with the ipaddress fact using the latest
Facter gem (1.6.4, 1.6.5) on SLES11. The versions and gems I use work
perfectly fine on SLES10 SP3.
The problem: running "facter" without arguments results in an error,
even though the erroring fact "ipaddress" is ok.
test:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL