Displaying 3 results from an estimated 3 matches for "sm_config".
Did you mean:
mm_config
2015 Jul 08
0
[PATCH 6/6] customize: add basic subscription-manager operations
...customize_run.ml b/customize/customize_run.ml
index d9547a0..9fb2b14 100644
--- a/customize/customize_run.ml
+++ b/customize/customize_run.ml
@@ -153,6 +153,33 @@ exec >>%s 2>&1
Hashtbl.replace passwords user pw
in
+ (* Parse the subscription-manager configuration. *)
+ let sm_config =
+ match ops.flags.sm_config with
+ | None -> None
+ | Some c ->
+ try
+ Some (Ini_reader.read_ini ~check_duplicated_sections:true
+ ~check_duplicated_fields:true c)
+ with exn ->
+ error (f_"cannot parse the subscription-manager config...
2011 Dec 19
1
pbd-plug failing when attaching an SR that was introduced
....py", line 131, in _run_locked
return self._run(sr, target)
File "/opt/xensource/sm/SRCommand.py", line 223, in _run
return sr.attach(self.params[''sr_uuid''])
File "/opt/xensource/sm/LVMSR", line 308, in attach
self._checkMetadataVolume(self.sm_config)
File "/opt/xensource/sm/LVMSR", line 200, in _checkMetadataVolume
self._synchMetaData(map)
File "/opt/xensource/sm/LVMSR", line 210, in _synchMetaData
xml = metadata.retrieveXMLfromFile(self.mdpath)
File "/opt/xensource/sm/metadata.py", line 103, in retr...
2015 Jul 08
7
[PATCH 0/6] RFC: basic subscription-manager support in virt-customize
Hi,
this series introduces a basic support for
registering/attaching/unregistering RHEL guests using
subscription-manager, so it is possible to do for example:
$ cat <<EOF > sm.conf
[general]
username=user
password=pass
[attach-0]
pool=ID
EOF
$ virt-customize -a rhel-guest.qcow2 \
--sm-config sm.conf --sm-register --sm-attach 0 \
--install pkg1 --install pkg2