Displaying 20 results from an estimated 1100 matches similar to: "[PATCH] virt-sysprep: add the hostname and net_hwaddr support for rhel"
2012 Mar 04
1
[RFC PATCH] virt-sysprep:add ipconfig for preparation
Hi Rich:
I just send a patch to request for your comments,
then will do further work about this.
things like this:
[root at Allen ~]# virt-sysprep --ipconfig="eth0:192.168.1.2,255.255.255.0,192.168.1.1" --enable=ipconfig -d clone-6u1
OR
[root at Allen ~]# virt-sysprep -d clone-6u1
Please comments.
Thanks
-Wanlong Gao
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
2012 Mar 14
3
[PATCH V3] virt-sysprep:add ipconfig for preparation
V1->V2: add the documentation.
V2->V3: change the split sign from ":" to "@" for IPv6.
Add the the ipconfig for vir-prep.
Usage like below:
[root at Allen ~]# virt-sysprep --ipconfig="eth0:192.168.1.2,255.255.255.0,192.168.1.1" --enable=ipconfig -d clone-6u1
OR
[root at Allen ~]# virt-sysprep -d clone-6u1
Signed-off-by: Wanlong Gao <gaowanlong at
2012 Mar 09
1
[PATCH V2] virt-sysprep:add ipconfig for preparation
Hi Rich:
V1->V2: add the documentation.
Any comments?
Thanks,
Wanlong Gao
---------------------------------------------------------------------------------------------------
Add the the ipconfig for vir-prep.
Usage like below:
[root at Allen ~]# virt-sysprep --ipconfig="eth0:192.168.1.2,255.255.255.0,192.168.1.1" --enable=ipconfig -d clone-6u1
OR
[root at Allen ~]#
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.
2012 Aug 08
1
[PATCH] sysprep: remove the process accounting log files
We just remove the process accounting files previously without
touch a empty file, this will cause psacct runs error.
Restart the service can't help us create this file auto.
couldn't open file '/var/account/pacct': No such file or directory
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
po/POTFILES-ml | 1 +
sysprep/Makefile.am
2012 Sep 03
2
[PATCH] sysprep: remove hostname from ifcfg-*
Remove hostname from network interface configuration.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
po/POTFILES-ml | 1 +
sysprep/Makefile.am | 1 +
sysprep/sysprep_operation_net_hostname.ml | 58 +++++++++++++++++++++++++++++++
3 files changed, 60 insertions(+)
create mode 100644 sysprep/sysprep_operation_net_hostname.ml
2013 Sep 06
0
[PATCH 2/5] sysprep: remove the NFS settings
This remove the NFS settings by removing /etc/export.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
---
sysprep/Makefile.am | 1 +
sysprep/sysprep_operation_nfs_setting.ml | 43 ++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
create mode 100644 sysprep/sysprep_operation_nfs_setting.ml
diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am
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
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.
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
2011 Mar 19
1
[patch 1/2] xen-gntdev: return -EFAULT on copy_to_user failure
copy_to_user() returns the amount of data remaining to be copied. We
want to return a negative error code here. The upper layers just
call WARN_ON() if we return non-zero so this doesn't change the
behavior. But returning -EFAULT is still cleaner.
Signed-off-by: Dan Carpenter <error27 at gmail.com>
diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c
index 017ce60..b0f9e8f
2011 Mar 19
1
[patch 1/2] xen-gntdev: return -EFAULT on copy_to_user failure
copy_to_user() returns the amount of data remaining to be copied. We
want to return a negative error code here. The upper layers just
call WARN_ON() if we return non-zero so this doesn't change the
behavior. But returning -EFAULT is still cleaner.
Signed-off-by: Dan Carpenter <error27 at gmail.com>
diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c
index 017ce60..b0f9e8f
2011 Mar 19
1
[patch 1/2] xen-gntdev: return -EFAULT on copy_to_user failure
copy_to_user() returns the amount of data remaining to be copied. We
want to return a negative error code here. The upper layers just
call WARN_ON() if we return non-zero so this doesn't change the
behavior. But returning -EFAULT is still cleaner.
Signed-off-by: Dan Carpenter <error27 at gmail.com>
diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c
index 017ce60..b0f9e8f
2023 Mar 07
2
[V2V PATCH v2 2/5] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type
Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
---
convert/convert_windows.ml | 1 +
1 files changed, 1 insertions(+)
diff --git a/convert/convert_windows.ml b/convert/convert_windows.ml
index 9d8d271d..4f672487 100644
--- a/convert/convert_windows.ml
+++ b/convert/convert_windows.ml
@@ -273,6 +273,7 @@ let convert (g : G.guestfs) _ inspect i_firmware _ static_ips =
2009 Jan 19
1
patch for textspecial and defaultfont in xfig
Hello,
The current xfig device lacks the functionality to set the
textspecial flag and use the defaultfont in xfig. This is necessary
when you want to export to xfig and use interpreted text (e.g., $
\frac{1}{e}$ gets interpreted by latex). The attached patch adds this
functionality.
Why would you like to do this?
- Use math in labels (e.g., name your variables $r_{xy}$, do a
2002 Jan 04
1
Patch for 2.5.1 on Tru64 UNIX 5.x
Tru64 UNIX has getaddrinfo but not by that name. Including <netdb.h>
#defines getaddrinfo to ogetaddrinfo or ngetaddrinfo which exists in
/usr/shlib/libc.so. So, AC_CHECK_FUNC(getaddrinfo) isn't enough to
test for getaddrinfo. Best to AC_TRY_LINK so the #define takes effect.
--
albert chin (china@thewrittenword.com)
-- snip snip
--- configure.in.orig Thu Jan 3 19:03:54 2002
+++
2023 Mar 10
1
[V2V PATCH v3 2/6] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type
It is needed to pass the proper guest capability in case we have
virtio-scsi driver installed during conversion.
Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
---
convert/convert_windows.ml | 1 +
1 file changed, 1 insertion(+)
diff --git a/convert/convert_windows.ml b/convert/convert_windows.ml
index 9d8d271d..bfe3ae13 100644
--- a/convert/convert_windows.ml
+++
2009 Jul 17
1
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
---
include/llvm/System/Program.h | 14 ++++++++++----
lib/System/Unix/Program.inc | 17 +++++++++--------
lib/System/Win32/Program.inc | 16 +++++++++-------
3 files changed, 28 insertions(+), 19 deletions(-)
diff --git a/include/llvm/System/Program.h b/include/llvm/System/Program.h
index 14f9e9e..05c73ac 100644
--- a/include/llvm/System/Program.h
+++ b/include/llvm/System/Program.h
@@
2023 Mar 08
1
[V2V PATCH v2 2/5] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type
On Tue, Mar 07, 2023 at 09:40:07PM +0200, Andrey Drobyshev wrote:
> Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
> ---
> convert/convert_windows.ml | 1 +
> 1 files changed, 1 insertions(+)
>
> diff --git a/convert/convert_windows.ml b/convert/convert_windows.ml
> index 9d8d271d..4f672487 100644
> --- a/convert/convert_windows.ml
> +++
2002 Dec 09
1
when using --backup-dir: why not make_bak_dir() . . .
here (in keep_backup())?
--- backup.c.orig Mon Dec 9 17:02:36 2002
+++ backup.c Mon Dec 9 17:03:50 2002
@@ -273,6 +273,7 @@
/* move to keep tree if a file */
if(!kept) {
+ make_bak_dir(fname,backup_dir);
if (!robust_move (fname, keep_name))
rprintf(FERROR, "keep_backup failed %s -> %s : %s\n",
fname, keep_name, strerror(errno));
this reconstructs parent