Displaying 20 results from an estimated 50 matches for "sysprep_operation_user_account".
2014 Sep 02
2
[PATCH] sysprep: user-account: remove the correct home
Query using augeas for the home directory of an user, instead of
hardcoding /home/<username>.
---
sysprep/sysprep_operation_user_account.ml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sysprep/sysprep_operation_user_account.ml b/sysprep/sysprep_operation_user_account.ml
index 3d88ffc..dc194f4 100644
--- a/sysprep/sysprep_operation_user_account.ml
+++ b/sysprep/sysprep_operation_user_account.ml
@@ -84,6 +84,...
2014 Oct 28
1
[PATCH] sysprep: remove /var/spool/mail/username
remove /var/spool/mail/username if --enable user-account.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
sysprep/sysprep_operation_user_account.ml | 1 +
1 file changed, 1 insertion(+)
diff --git a/sysprep/sysprep_operation_user_account.ml b/sysprep/sysprep_operation_user_account.ml
index fda5547..bda6331 100644
--- a/sysprep/sysprep_operation_user_account.ml
+++ b/sysprep/sysprep_operation_user_account.ml
@@ -83,6 +83,7 @@ let user_accou...
2015 Jul 01
4
[PATCH 1/2] mllib: add and use last_part_of
...after the last
occurrency of a character; replace with it the current snippets doing
the same.
Should be just code motion.
---
customize/password.ml | 5 +++--
mllib/common_utils.ml | 7 +++++++
mllib/common_utils.mli | 3 +++
sysprep/sysprep_operation_user_account.ml | 5 +++--
v2v/convert_linux.ml | 10 +++-------
v2v/utils.ml | 16 ++++++++++------
6 files changed, 29 insertions(+), 17 deletions(-)
diff --git a/customize/password.ml b/customize/password.ml
index 25ce901..d91c4b5 100644
--- a/customize/pas...
2014 Dec 05
0
[PATCH] sysprep: user-account: mark "changed file" if users were removed
Removing an user causes /etc/passwd, /etc/shadow, and /etc/group to
change, so mark the side effects as such if any user has been removed.
---
sysprep/sysprep_operation_user_account.ml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/sysprep/sysprep_operation_user_account.ml b/sysprep/sysprep_operation_user_account.ml
index bda6331..e53e5cc 100644
--- a/sysprep/sysprep_operation_user_account.ml
+++ b/sysprep/sysprep_operation_user_account.ml
@@ -55,6 +5...
2015 Jul 01
1
Re: [PATCH 1/2] mllib: add and use last_part_of
...doing
> > the same.
> >
> > Should be just code motion.
> > ---
> > customize/password.ml | 5 +++--
> > mllib/common_utils.ml | 7 +++++++
> > mllib/common_utils.mli | 3 +++
> > sysprep/sysprep_operation_user_account.ml | 5 +++--
> > v2v/convert_linux.ml | 10 +++-------
> > v2v/utils.ml | 16 ++++++++++------
> > 6 files changed, 29 insertions(+), 17 deletions(-)
> >
> > diff --git a/customize/password.ml b/customize/password.ml...
2012 Apr 18
1
[PATCH RFC] sysprep: remove user accounts
...request your comments, if the concept
is correct and you can point out some syntax error for me.
Thanks a lot,
Wanlong Gao
Remove user accounts except the root user.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
sysprep/Makefile.am | 2 +
sysprep/sysprep_operation_user_account.ml | 82 +++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
create mode 100644 sysprep/sysprep_operation_user_account.ml
diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am
index f51fc07..9b06804 100644
--- a/sysprep/Makefile.am
+++ b/sysprep/Makefile.am
@@ -48,6 +48,7 @@ SOURCE...
2015 Jul 01
0
[PATCH 2/3] mllib: add and use last_part_of
...string after the last
occurrency of a character; replace with it the current snippets doing
the same.
Should be just code motion.
---
customize/password.ml | 4 +---
mllib/common_utils.ml | 5 +++++
mllib/common_utils.mli | 3 +++
sysprep/sysprep_operation_user_account.ml | 4 +---
v2v/convert_linux.ml | 4 +---
v2v/utils.ml | 9 ++-------
6 files changed, 13 insertions(+), 16 deletions(-)
diff --git a/customize/password.ml b/customize/password.ml
index 25ce901..cb97804 100644
--- a/customize/password.ml
+++ b/cu...
2014 Dec 05
3
[PATCH] customize, sysprep: add a short SELinux note
Add a short paragraph about SELinux, mostly to point to the
documentation about it provided in the documentation of virt-builder.
---
customize/virt-customize.pod | 8 ++++++++
sysprep/virt-sysprep.pod | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/customize/virt-customize.pod b/customize/virt-customize.pod
index a666be7..8dbdfef 100644
--- a/customize/virt-customize.pod
+++
2015 Jul 01
0
Re: [PATCH 1/2] mllib: add and use last_part_of
...r; replace with it the current snippets doing
> the same.
>
> Should be just code motion.
> ---
> customize/password.ml | 5 +++--
> mllib/common_utils.ml | 7 +++++++
> mllib/common_utils.mli | 3 +++
> sysprep/sysprep_operation_user_account.ml | 5 +++--
> v2v/convert_linux.ml | 10 +++-------
> v2v/utils.ml | 16 ++++++++++------
> 6 files changed, 29 insertions(+), 17 deletions(-)
>
> diff --git a/customize/password.ml b/customize/password.ml
> index 25ce901..d91c...
2015 Jul 01
5
[PATCH 1/3] mllib: add an optional filter for rm_rf_only_files
This way it is possible to use rm_rf_only_files, but not removing
specific files.
---
mllib/common_utils.ml | 8 +++++++-
mllib/common_utils.mli | 5 ++++-
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml
index 516cff3..3737b4c 100644
--- a/mllib/common_utils.ml
+++ b/mllib/common_utils.ml
@@ -640,13 +640,19 @@ let rmdir_on_exit =
*
2014 Sep 04
10
[PATCH 0/5] use augeas for /etc/shadow
...word.ml | 64 +++++++-------
daemon/augeas.c | 137 +++++++++++++++++++++++++++++-
daemon/daemon.h | 19 ++++-
daemon/guestfsd.c | 11 +++
daemon/lvm-filter.c | 16 ----
sysprep/sysprep_operation_user_account.ml | 4 -
8 files changed, 268 insertions(+), 58 deletions(-)
create mode 100644 appliance/guestfs_shadow.aug
--
1.9.3
2012 Apr 25
3
[PATCH 1/3] sysprep: remove the db and log of sssd
...8b1fa1..f4efcb8 100644
--- a/sysprep/Makefile.am
+++ b/sysprep/Makefile.am
@@ -49,6 +49,7 @@ SOURCES = \
sysprep_operation_smolt_uuid.ml \
sysprep_operation_ssh_hostkeys.ml \
sysprep_operation_ssh_userdir.ml \
+ sysprep_operation_sssd_db_log.ml \
sysprep_operation_udev_persistent_net.ml \
sysprep_operation_user_account.ml \
sysprep_operation_utmp.ml \
@@ -77,6 +78,7 @@ OBJECTS = \
sysprep_operation_smolt_uuid.cmx \
sysprep_operation_ssh_hostkeys.cmx \
sysprep_operation_ssh_userdir.cmx \
+ sysprep_operation_sssd_db_log.cmx \
sysprep_operation_udev_persistent_net.cmx \
sysprep_operation_user_account.ml...
2014 Jan 21
1
[PATCH 1/2] sysprep: Update comments.
---
sysprep/sysprep_operation.mli | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sysprep/sysprep_operation.mli b/sysprep/sysprep_operation.mli
index 61dde72..eb89db4 100644
--- a/sysprep/sysprep_operation.mli
+++ b/sysprep/sysprep_operation.mli
@@ -16,14 +16,16 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*)
-(** Structure used to describe sysprep
2017 Sep 19
1
Re: [PATCH 2/5] Make sure every *.ml file has a corresponding *.mli file.
...tkeys.mli | 19 +
> sysprep/sysprep_operation_ssh_userdir.mli | 19 +
> sysprep/sysprep_operation_sssd_db_log.mli | 19 +
> sysprep/sysprep_operation_tmp_files.mli | 19 +
> sysprep/sysprep_operation_udev_persistent_net.mli | 19 +
> sysprep/sysprep_operation_user_account.mli | 19 +
> sysprep/sysprep_operation_utmp.mli | 19 +
> sysprep/sysprep_operation_yum_uuid.mli | 19 +
Would it be possible to generate the files above automatically, during
build? After all, they all are empty interfaces.
> +val xdg_cache_home :...
2014 Feb 13
2
[PATCH] mllib: hostname: replace the hostname on Debian also in /etc/hosts (RHBZ#953907).
In Debian/Ubuntu systems, read the previous hostname from /etc/hostname
before replacing it, and replace it in /etc/hosts with the new hostname.
---
mllib/hostname.ml | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/mllib/hostname.ml b/mllib/hostname.ml
index fce16ff..0d5b5d4 100644
--- a/mllib/hostname.ml
+++ b/mllib/hostname.ml
@@ -42,7 +42,12 @@ let rec
2017 Jul 24
0
Re: [PATCH] common/mlstdutils: Implement StringSet.
...t.mli | 46 ++++++++++++++++++++++++++++
> dib/elements.ml | 2 --
> sysprep/sysprep_operation_ca_certificates.ml | 1 -
> sysprep/sysprep_operation_kerberos_data.ml | 1 -
> sysprep/sysprep_operation_rpm_db.ml | 1 -
> sysprep/sysprep_operation_user_account.ml | 2 --
> v2v/create_libvirt_xml.ml | 2 --
> 10 files changed, 68 insertions(+), 12 deletions(-)
> [...]
> diff --git a/common/mlstdutils/stringSet.mli b/common/mlstdutils/stringSet.mli
> new file mode 100644
> index 000000000..e2889d86e
> --- /dev/n...
2017 Jul 21
4
[PATCH] common/mlstdutils: Implement StringSet.
...ommon/mlstdutils/stringSet.mli | 46 ++++++++++++++++++++++++++++
dib/elements.ml | 2 --
sysprep/sysprep_operation_ca_certificates.ml | 1 -
sysprep/sysprep_operation_kerberos_data.ml | 1 -
sysprep/sysprep_operation_rpm_db.ml | 1 -
sysprep/sysprep_operation_user_account.ml | 2 --
v2v/create_libvirt_xml.ml | 2 --
10 files changed, 68 insertions(+), 12 deletions(-)
diff --git a/builder/sources.ml b/builder/sources.ml
index 4c9ea0fff..48687bb26 100644
--- a/builder/sources.ml
+++ b/builder/sources.ml
@@ -34,8 +34,6 @@ and source_format =
|...
2016 Jul 18
0
[PATCH v2 2/3] mllib: Use L"..." and S '...' for long and short options.
...3 ++++++-----
resize/resize.ml | 41 +++++-----
sparsify/cmdline.ml | 21 +++---
sysprep/main.ml | 29 +++----
sysprep/sysprep_operation.ml | 8 +-
sysprep/sysprep_operation_script.ml | 5 +-
sysprep/sysprep_operation_user_account.ml | 5 +-
v2v/cmdline.ml | 55 +++++++-------
v2v/copy_to_local.ml | 5 +-
15 files changed, 267 insertions(+), 245 deletions(-)
diff --git a/builder/cmdline.ml b/builder/cmdline.ml
index 846c2e3..49a57ee 100644
--- a/builder/cmdline.ml
+++ b/b...
2014 Feb 13
2
Re: [PATCH] mllib: hostname: replace the hostname on Debian also in /etc/hosts (RHBZ#953907).
...ck in manually checking the values.
> I thought it might be possible to iterate over the Augeas tree. I'm
> fairly sure I used to have some code that did this, but I can't find
> it at the moment.
At least in libguestfs, the two files which do augeas match+iteration
are sysprep/sysprep_operation_user_account.ml (which you mentioned
earlier) and src/inspect-fs-unix.c.
--
Pino Toscano
2015 Oct 06
0
[PATCH 5/5] mllib: Replace various ad hoc string_* functions with String.*
...s.ml | 32 ++---
sparsify/copying.ml | 6 +-
sparsify/in_place.ml | 2 +-
sysprep/main.ml | 8 +-
sysprep/sysprep_operation_net_hostname.ml | 2 +-
sysprep/sysprep_operation_net_hwaddr.ml | 2 +-
sysprep/sysprep_operation_user_account.ml | 2 +-
v2v/OVF.ml | 14 +-
v2v/cmdline.ml | 6 +-
v2v/convert_linux.ml | 40 +++---
v2v/convert_windows.ml | 2 +-
v2v/input_libvirt_vcenter_https.ml | 4 +-
v2v/input_libvirtxml.m...