search for: net_hwaddr

Displaying 11 results from an estimated 11 matches for "net_hwaddr".

2012 Feb 29
1
[PATCH] virt-sysprep: add the hostname and net_hwaddr support for rhel
...quot;HOSTNAME=$hostname_param" > $mnt/etc/sysconfig/network.new sed '/^HOSTNAME=/d' < $mnt/etc/sysconfig/network >> $mnt/etc/sysconfig/network.new mv -f $mnt/etc/sysconfig/network.new $mnt/etc/sysconfig/network @@ -313,7 +313,7 @@ fi if [ "$net_hwaddr" = "yes" ]; then case "$type/$distro" in - linux/fedora) + linux/fedora|linux/rhel) if [ -d $mnt/etc/sysconfig/network-scripts ]; then rm_hwaddr () { -- 1.7.9
2012 Mar 04
1
[RFC PATCH] virt-sysprep:add ipconfig for preparation
...quot;$2" + shift 2;; --list-operations) enable=list shift;; @@ -135,6 +138,7 @@ if [ -z "$enable" ]; then dhcp_client_state=yes dhcp_server_state=yes hostname=yes + ipconfig=yes logfiles=yes mail_spool=yes net_hwaddr=yes @@ -150,6 +154,7 @@ elif [ "$enable" = "list" ]; then echo "dhcp-client-state" echo "dhcp-server-state" echo "hostname" + echo "ipconfig" echo "logfiles" echo "mail-spool" echo &quot...
2012 Aug 08
1
[PATCH] sysprep: remove the process accounting log files
...on_pacct_log.ml diff --git a/po/POTFILES-ml b/po/POTFILES-ml index 11aab05..7f75dc8 100644 --- a/po/POTFILES-ml +++ b/po/POTFILES-ml @@ -26,6 +26,7 @@ sysprep/sysprep_operation_lvm_uuids.ml sysprep/sysprep_operation_machine_id.ml sysprep/sysprep_operation_mail_spool.ml sysprep/sysprep_operation_net_hwaddr.ml +sysprep/sysprep_operation_pacct_log.ml sysprep/sysprep_operation_package_manager_cache.ml sysprep/sysprep_operation_pam_data.ml sysprep/sysprep_operation_puppet_data_log.ml diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am index c52a65f..50c6e11 100644 --- a/sysprep/Makefile.am +++ b/sy...
2012 Mar 14
3
[PATCH V3] virt-sysprep:add ipconfig for preparation
...quot;$2" + shift 2;; --list-operations) enable=list shift;; @@ -135,6 +138,7 @@ if [ -z "$enable" ]; then dhcp_client_state=yes dhcp_server_state=yes hostname=yes + ipconfig=yes logfiles=yes mail_spool=yes net_hwaddr=yes @@ -150,6 +154,7 @@ elif [ "$enable" = "list" ]; then echo "dhcp-client-state" echo "dhcp-server-state" echo "hostname" + echo "ipconfig" echo "logfiles" echo "mail-spool" echo &quot...
2012 Mar 09
1
[PATCH V2] virt-sysprep:add ipconfig for preparation
...quot;$2" + shift 2;; --list-operations) enable=list shift;; @@ -135,6 +138,7 @@ if [ -z "$enable" ]; then dhcp_client_state=yes dhcp_server_state=yes hostname=yes + ipconfig=yes logfiles=yes mail_spool=yes net_hwaddr=yes @@ -150,6 +154,7 @@ elif [ "$enable" = "list" ]; then echo "dhcp-client-state" echo "dhcp-server-state" echo "hostname" + echo "ipconfig" echo "logfiles" echo "mail-spool" echo &quot...
2012 Sep 03
2
[PATCH] sysprep: remove hostname from ifcfg-*
...fb 100644 --- a/po/POTFILES-ml +++ b/po/POTFILES-ml @@ -27,6 +27,7 @@ sysprep/sysprep_operation_logfiles.ml sysprep/sysprep_operation_lvm_uuids.ml sysprep/sysprep_operation_machine_id.ml sysprep/sysprep_operation_mail_spool.ml +sysprep/sysprep_operation_net_hostname.ml sysprep/sysprep_operation_net_hwaddr.ml sysprep/sysprep_operation_pacct_log.ml sysprep/sysprep_operation_package_manager_cache.ml diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am index 2ee9abf..46b8309 100644 --- a/sysprep/Makefile.am +++ b/sysprep/Makefile.am @@ -55,6 +55,7 @@ operations = \ logfiles \ machine_id \ mail...
2013 Sep 06
0
[PATCH 2/5] sysprep: remove the NFS settings
...2 files changed, 44 insertions(+) create mode 100644 sysprep/sysprep_operation_nfs_setting.ml diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am index b89345a..9894baf 100644 --- a/sysprep/Makefile.am +++ b/sysprep/Makefile.am @@ -51,6 +51,7 @@ operations = \ mail_spool \ net_hostname \ net_hwaddr \ + nfs_setting \ pacct_log \ package_manager_cache \ pam_data \ diff --git a/sysprep/sysprep_operation_nfs_setting.ml b/sysprep/sysprep_operation_nfs_setting.ml new file mode 100644 index 0000000..6d74cba --- /dev/null +++ b/sysprep/sysprep_operation_nfs_setting.ml @@ -0,0 +1,43 @@ +(* virt-...
2013 Sep 06
7
[PATCH 1/5] sysprep: remove tmp files
This removes tmp files under /tmp and /var/tmp. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> --- sysprep/Makefile.am | 1 + sysprep/sysprep_operation_tmp_files.ml | 52 ++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 sysprep/sysprep_operation_tmp_files.ml diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am index
2014 Jan 21
2
virt-builder & virt-sysprep: Avoiding SELinux relabelling
...ew) hostname: - creates various files depending on distro (eg /etc/hostname) - files probably exist already, but might not - shared with virt-builder machine_id: - creates empty /etc/machine-id - probably this file exists already net_hostname: - modifies /etc/sysconfig/network-scripts/ifcfg-* net_hwaddr: - modifies /etc/sysconfig/network-scripts/ifcfg-* pacct_log: - touches /var/account/pacct or /var/log/account/pacct password: - edits /etc/shadow directly - shared with virt-builder random_seed: - creates seed file - seed file may or may not exist before - shared with virt-builder timezone:...
2012 Aug 16
5
[PATCH 0/4] Add customization capabilities to virt-sysprep
In the TODO file there's a discussion of perhaps writing a new 'virt-customize' tool. I think it's probably better (or at any rate, easier) to just add this functionality into virt-sysprep. That is what this small series of patches aims to achieve. Note these are not very well tested at the moment. The first patch adds a generic and useful '--firstboot' flag. The
2012 Mar 31
3
[PATCH (incomplete)] Rewrite virt-sysprep in OCaml.
This patch is incomplete but it illustrates the idea. virt-sysprep is rewritten as a modular tool in OCaml. Only the 'utmp' and 'hostname' operations are implemented at the moment. Rich.