- 10 Feb, 2015 4 commits
-
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
This task is used for configuring the VM's NICs.
-
- 09 Feb, 2015 3 commits
-
-
Nikos Skalkotos authored
Till now the injected files were decoded in the tmp directory of the instance. We did this because we used to chroot to install the files with correct ownership. Since chrooting in abandoned, there is no need to do this any more.
-
Nikos Skalkotos authored
This is needed because piping the dumpfs command with head will trigger a SIGPIPE.
-
Nikos Skalkotos authored
Use heuristic methods to detect mandatory image properties if missing. This resolves #50
-
- 05 Dec, 2014 2 commits
-
-
Nikos Skalkotos authored
Resizing of a xfs file system is performed in FilesystemResizeMounted configuration task.
-
Nikos Skalkotos authored
-
- 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.
-
- 25 Sep, 2014 5 commits
-
-
Nikos Skalkotos authored
Resizing of a btrfs file system is performed in FilesystemResizeMounted configuration task.
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
If /etc/fstab is missing do not mount any other partition than the root partition but do not fail. There are distros like CoreOS that do not contain an `/etc/fstab'.
-
- 22 Sep, 2014 2 commits
-
-
Nikos Skalkotos authored
This parameter can be used instead of img_passwd to directly inject a password hash in the shadow file of the instance. This is applicable only to Unix images. This resolves #36
-
Nikos Skalkotos authored
Till now, half of the variable names that referred to passwords contained PASSWORD in their name and half contained PASSWD
-
- 17 Sep, 2014 2 commits
-
-
Nikos Skalkotos authored
When searching a windows image for the presence of an answer file, make sure that Autounattend.xml is also considered as a valid answer file.
-
Nikos Skalkotos authored
Update the unattend.xml file to support Desktop variants of Microsoft Windows.
-
- 15 Sep, 2014 1 commit
-
-
Nikos Skalkotos authored
* Rename the image property INSTALL_DEFAULT_UNATTEND to IGNORE_UNATTEND. * Add documentation about this property
-
- 18 Jul, 2014 1 commit
-
-
Nikos Skalkotos authored
Newer versions of automake raise errors when multiple AM_INIT_AUTOMAKE entries are defined.
-
- 18 Jun, 2014 1 commit
-
-
Brian Candler authored
This is to allow multi-line base64 encoded data in the "contents" attribute of img_personality. Fixes #51
-
- 30 May, 2014 1 commit
-
-
Nikos Skalkotos authored
If the parameter is not defined then the ChangePassword task will not run at all. This resolves #34
-
- 09 May, 2014 1 commit
-
-
Nikos Skalkotos authored
In order to extend a partition we need to remove and recreate it. If the partition was misaligned then the image is to blame. snf-image is not allowed to change the starting sector of the partition since this will destroy the file system it hosts. In order to make sure this does never happen we need to set the sector alignment multiple to 1.
-
- 25 Mar, 2014 15 commits
-
-
Nikos Skalkotos authored
Add support for resizing UFS file systems of NetBSD OSes
-
Nikos Skalkotos authored
When enlarging OpenBSD partitions, round them up to multiples of 16512 which is the default fs blocksize. This is what OpenBSD's disklabel does when creating partitions.
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
The mapping we used would fail in some cases. If a BSD partition has the same boundaries with an MBR one, the kernel will not map it onto a different block device. As a result, partition 'a' is sometimes mapped onto /dev/sda1 and sometimes onto /dev/sda5.
-
Nikos Skalkotos authored
Add an input option in disklabel.py to print the partition mapping the Linux kernel would do on the disklabel.
-
Nikos Skalkotos authored
-
Nikos Skalkotos authored
* Implement new NetBSDDisklabel and FreeBSDDisklabel classes that subclass BSDDisklabel class. * Add methods for enlarging the disk and the last partition in NetBSDDisklabel
-
Nikos Skalkotos authored
This method converts an LBA address to CHS. Different BSD systems do this in different ways: * NetBSD uses LBA-Assisted translation but OpenBSD does not. * For addresses over 8GB where CHS will overflow, OpenBSD will assign a fixed value on all 3 CHS fields when NetBSD will do this only for the cylinders field.
-
Nikos Skalkotos authored
Make PartitionTableBase and DisklabelBase classes abstract by using the ABCMeta metaclass of the abc module
-
Nikos Skalkotos authored
* Add missing method comments * Inline all MBR fields comments * Print partition type in hex
-
Nikos Skalkotos authored
Add basic support for traditional BSD disklabels
-
Nikos Skalkotos authored
* Create a DisklabelBase class that the two Disklabel classes will subclass * Move common code to the base class * Cleanup the derived classes
-
Nikos Skalkotos authored
Create a PartitionTableBase class that will host the common code for the PartitionTable classes of the two Disklabel classes.
-
Nikos Skalkotos authored
Add the partition table fields and the format field for the BSDDisklabel class. The body of the class is not implemented yet.
-
Nikos Skalkotos authored
Add a main() function that works as entry point and rephrase the help text in some input options.
-