- 28 Sep, 2015 1 commit
-
-
Nikos Skalkotos authored
Use check_yes_no() to test if a boolean property is set. Although the documentation states that to set a boolean image property you need to assign the "yes" value to it, this function will accept "yes", "true", 1, "on" and "set" in a case-insensitive way and reject "no", "false", 0, "off" and "unset". An empty or not-set variable is treated as false. An unknown value will raise a warning but will be accepted. This is done to protect the users because prior to this commit, in some cases we only tested if an image property had a non-empty value. This resolves #80
-
- 09 Feb, 2015 1 commit
-
-
Nikos Skalkotos authored
Use heuristic methods to detect mandatory image properties if missing. This resolves #50
-
- 13 Oct, 2014 2 commits
-
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
If no image properties are defined, then do not run any configuration task. Prior to this commit, the system would fail if no image properties were present.
-
- 14 Mar, 2014 1 commit
-
-
Nikos Skalkotos authored
* Fix various spelling errors * Add module comments on all python utilities
-
- 29 Oct, 2013 1 commit
-
-
Nikos Skalkotos authored
Resizing NetBSD and OpenBSD partitions, as well as FFS filesystems does not work for now
-
- 18 Oct, 2013 1 commit
-
-
Nikos Skalkotos authored
Fix a bug in get_partition_to_resize where the script would not stop if the get_partition_table function failed, leading to bash syntax errors.
-
- 18 Apr, 2013 1 commit
-
-
Nikos Skalkotos authored
File injection isn't implemented yet
-
- 08 Feb, 2013 2 commits
-
-
Nikos Skalkotos authored
Check the cmdline of the kernel to determine what device to check for find the rules file
-
Nikos Skalkotos authored
Make sure everything works even when the root filesystem in the helper VM is mounted read-only.
-
- 07 Feb, 2013 1 commit
-
-
Nikos Skalkotos authored
Make it comply with the rest of the software. Some things are not ready yet.
-
- 07 Jan, 2013 1 commit
-
-
Nikos Skalkotos authored
If the image has /home on a different partition than /, then we'll need to have it mounted to inject files on a user's home directory.
-
- 15 Dec, 2012 1 commit
-
-
Nikos Skalkotos authored
Fix a bug where errors that where not created using log_error where not registered to the monitoring subsystem.
-
- 13 Nov, 2012 2 commits
-
-
Nikos Skalkotos authored
In image helper, check if decode-properties.py returned 0 and log the error if this is not the case.
-
Nikos Skalkotos authored
-
- 28 Sep, 2012 1 commit
-
-
Dimitris Aragiorgis authored
Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr>
-
- 26 Sep, 2012 2 commits
-
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
Make snf-image-helper ran as init process when calling the helper VM. Also make the helper VM shut down quickly by using the shut off SysRq.
-
- 24 Sep, 2012 1 commit
-
-
Nikos Skalkotos authored
-
- 17 May, 2012 1 commit
-
-
Nikos Skalkotos authored
snf-image-helper by default uses it's own version of unattend.xml file, but if UNATTEND variable is specified then it will use the one provided by snf-image-host.
-
- 15 May, 2012 1 commit
-
-
Nikos Skalkotos authored
Fix a bug where the partition that should be resized in some cases was computed in a wrong way
-
- 09 May, 2012 1 commit
-
-
Nikos Skalkotos authored
-
- 13 Feb, 2012 1 commit
-
-
Nikos Skalkotos authored
This is needed because common.sh contains functions that use pipes, and the script should fail if any command fails.
-
- 19 Dec, 2011 1 commit
-
-
Nikos Skalkotos authored
-
- 12 Dec, 2011 1 commit
-
-
Nikos Skalkotos authored
Also did a minor cleanup in AssignHostname task
-
- 22 Nov, 2011 2 commits
-
-
Nikos Skalkotos authored
Image properties should be an optional argument. In any other case snf-image does not retail backward compatibility.
-
Nikos Skalkotos authored
Some files were accidentally left out from the last license and copyright fix.
-
- 11 Nov, 2011 2 commits
-
-
Nikos Skalkotos authored
The should look like this: SNF_IMAGE_PROPERTY_<TASK_NAME>_TASK
-
Nikos Skalkotos authored
-
- 10 Nov, 2011 1 commit
-
-
Nikos Skalkotos authored
* In decode-properties.py, use subprocess.Popen method instead of subprocess.check_output, which is introduced in python 2.7 * Fix a bug in snf-image-helper where decode-properties.py was not properly called * Fix a bug in FixPartitionTable task
-
- 09 Nov, 2011 1 commit
-
-
Nikos Skalkotos authored
-
- 08 Nov, 2011 1 commit
-
-
Nikos Skalkotos authored
-
- 03 Nov, 2011 1 commit
-
-
Nikos Skalkotos authored
-
- 17 Oct, 2011 1 commit
-
-
Vangelis Koukis authored
Prepend a timestamp before every line of output of run-parts hooks, needed as a quick-n-dirty way to estimate the time taken by each hook to complete. Refs #1499
-
- 11 Oct, 2011 1 commit
-
-
Vangelis Koukis authored
Make sure snf-image-host passes the magic argument in the kernel command line of the helper VM to activate snf-image-helper, update AUTHORS.
-
- 10 Oct, 2011 2 commits
-
-
Vangelis Koukis authored
Only activate the snf-image-helper automatically if the caller has passed a magic argument in the kernel command line. Require a '--force' argument to activate snf-image-helper, to avoid accidental execution of the script.
-
Nikos Skalkotos authored
* Make all "local" variables lowercase. * Move HELPER_EXTRA_PKGS from snf-image-update-helper to common.sh * Protect all variables from spaces and other special chars * Remove extra X's from mktemp template names (only 6 are supported). * Make sure pipelines fail if any command (not only the rightmost) fails
-
- 07 Oct, 2011 2 commits
-
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
Since the mount and umount commands are tasks, if a task fails, the filesystem may have been left mounted. For this case, I've created a trap that tries to umount the filesystem
-
- 06 Oct, 2011 1 commit
-
-
Nikos Skalkotos authored
-