snf-image
10 years agoBump version to 0.12-1~precise debian-precise debian/0.12-1precise
Nikos Skalkotos [Wed, 6 Nov 2013 10:10:27 +0000 (12:10 +0200)]
Bump version to 0.12-1~precise

Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr>

10 years agoMerge branch 'master' into debian-precise
Nikos Skalkotos [Wed, 6 Nov 2013 10:10:11 +0000 (12:10 +0200)]
Merge branch 'master' into debian-precise

10 years agoPin the python-bcrypt package version
Nikos Skalkotos [Tue, 5 Nov 2013 13:44:45 +0000 (15:44 +0200)]
Pin the python-bcrypt package version

10 years agoUpdate Changelog and version for 0.12 0.12
Nikos Skalkotos [Tue, 5 Nov 2013 13:42:02 +0000 (15:42 +0200)]
Update Changelog and version for 0.12

10 years agoMerge branch 'develop'
Nikos Skalkotos [Tue, 5 Nov 2013 12:41:33 +0000 (14:41 +0200)]
Merge branch 'develop'

10 years agoRename snf-passtohash.py to hashpwd.py
Nikos Skalkotos [Tue, 5 Nov 2013 11:17:50 +0000 (13:17 +0200)]
Rename snf-passtohash.py to hashpwd.py

10 years agoFix a bug in ChagePassword task
Nikos Skalkotos [Tue, 5 Nov 2013 10:28:24 +0000 (12:28 +0200)]
Fix a bug in ChagePassword task

In some cases the task removed some shadow/master.passwd entries by
accident because the grep pattern it used was more general than it
should be

10 years agoMerge branch 'feature-bsd-support' into develop
Nikos Skalkotos [Mon, 4 Nov 2013 13:03:16 +0000 (15:03 +0200)]
Merge branch 'feature-bsd-support' into develop

10 years agodocs: Update the doc to reflect the latest changes
Nikos Skalkotos [Mon, 4 Nov 2013 12:04:33 +0000 (14:04 +0200)]
docs: Update the doc to reflect the latest changes

Update the documtation to reflect the changes made to support
NetBSD and OpenBSD systems.

10 years agoThe value of DO_SYNC property should be "yes"
Nikos Skalkotos [Mon, 4 Nov 2013 11:05:17 +0000 (13:05 +0200)]
The value of DO_SYNC property should be "yes"

In order to reenable fsync() the DO_SYNC image property should be
defined like this:
DO_SYNC=yes

10 years agoAdd a new PASSWORD_HASHING_METHOD image property
Nikos Skalkotos [Fri, 1 Nov 2013 11:41:22 +0000 (13:41 +0200)]
Add a new PASSWORD_HASHING_METHOD image property

This can be used to override the hashing function ChangePassword
task uses. By default for linux and freebsd images, sha512 is used.
For OpenBSD blowfish and for NetBSD sha1.

10 years agoFix a minor bash variable expansion error
Nikos Skalkotos [Fri, 1 Nov 2013 09:29:41 +0000 (11:29 +0200)]
Fix a minor bash variable expansion error

It only affects the printing of an information string

10 years agoMake snf-passtohash.py comply with pep8
Nikos Skalkotos [Thu, 31 Oct 2013 16:28:28 +0000 (18:28 +0200)]
Make snf-passtohash.py comply with pep8

10 years agoAdd support for sha1 hashing method
Nikos Skalkotos [Thu, 31 Oct 2013 14:41:38 +0000 (16:41 +0200)]
Add support for sha1 hashing method

This is the default password hashing method for NetBSD.

10 years agoFix a function name typo in AssignHostname task
Nikos Skalkotos [Thu, 31 Oct 2013 09:04:58 +0000 (11:04 +0200)]
Fix a function name typo in AssignHostname task

10 years agoAdd support for Blowfish passwd hashing algorithm
Nikos Skalkotos [Wed, 30 Oct 2013 16:21:57 +0000 (18:21 +0200)]
Add support for Blowfish passwd hashing algorithm

This is not supported by the Linux version of crypt and is needed
for NetBSD and OpenBSD. Add a new python-bcrypt packet in the helper
that implements the OpenBSD Blowfish password hashing algorithm.

10 years agoDefine {open,net}bsd_shadow vars in ChangePassword
Nikos Skalkotos [Wed, 30 Oct 2013 14:54:13 +0000 (16:54 +0200)]
Define {open,net}bsd_shadow vars in ChangePassword

Those variables are needed to make ChangePassword work

10 years agoFix DeleteSSHKeys to work on non-linux systems
Nikos Skalkotos [Wed, 30 Oct 2013 08:40:26 +0000 (10:40 +0200)]
Fix DeleteSSHKeys to work on non-linux systems

10 years agoAdd code to detect openbsd flavors
Nikos Skalkotos [Wed, 30 Oct 2013 08:30:15 +0000 (10:30 +0200)]
Add code to detect openbsd flavors

10 years agoAdd code for detecting NetBSD's in get_distro
Nikos Skalkotos [Tue, 29 Oct 2013 16:52:31 +0000 (18:52 +0200)]
Add code for detecting NetBSD's in get_distro

10 years agoFix a awk bug in get_ufstype function
Nikos Skalkotos [Tue, 29 Oct 2013 16:18:43 +0000 (18:18 +0200)]
Fix a awk bug in get_ufstype function

10 years agoFix a variable typo in MountImage task
Nikos Skalkotos [Tue, 29 Oct 2013 15:58:30 +0000 (17:58 +0200)]
Fix a variable typo in MountImage task

10 years agoAdd partial support for NetBSD and OpenBSD
Nikos Skalkotos [Tue, 29 Oct 2013 13:31:21 +0000 (15:31 +0200)]
Add partial support for NetBSD and OpenBSD

Resizing NetBSD and OpenBSD partitions, as well as FFS filesystems
does not work for now

10 years agoBump version to 0.11.1-2~precise debian/0.11.1-2precise
Nikos Skalkotos [Tue, 22 Oct 2013 09:15:06 +0000 (12:15 +0300)]
Bump version to 0.11.1-2~precise

Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr>

10 years agoBump version to 0.11.1-1~precise debian/0.11.1-1precise
Nikos Skalkotos [Tue, 22 Oct 2013 09:10:22 +0000 (12:10 +0300)]
Bump version to 0.11.1-1~precise

Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr>

10 years agoMerge branch 'master' into debian-precise
Nikos Skalkotos [Tue, 22 Oct 2013 09:10:06 +0000 (12:10 +0300)]
Merge branch 'master' into debian-precise

10 years agoFix a typo in a update-helper msg
Nikos Skalkotos [Mon, 21 Oct 2013 12:25:40 +0000 (15:25 +0300)]
Fix a typo in a update-helper msg

10 years agoMerge branch 'hotfix-0.11.1' into develop
Nikos Skalkotos [Mon, 21 Oct 2013 12:20:19 +0000 (15:20 +0300)]
Merge branch 'hotfix-0.11.1' into develop

10 years agoMerge branch 'hotfix-0.11.1'
Nikos Skalkotos [Mon, 21 Oct 2013 12:16:12 +0000 (15:16 +0300)]
Merge branch 'hotfix-0.11.1'

10 years agoUpdate Changelog and version for 0.11.1 0.11.1
Nikos Skalkotos [Mon, 21 Oct 2013 10:24:44 +0000 (13:24 +0300)]
Update Changelog and version for 0.11.1

10 years agoFix a bug in pithcat introduced in 08c317fad685ddc
Nikos Skalkotos [Mon, 21 Oct 2013 10:15:10 +0000 (13:15 +0300)]
Fix a bug in pithcat introduced in 08c317fad685ddc

There was a debug print in pithcat causing problems

10 years agodocs: Ommit mentioning a specific FreeBSD version
Nikos Skalkotos [Fri, 18 Oct 2013 13:36:56 +0000 (16:36 +0300)]
docs: Ommit mentioning a specific FreeBSD version

In the first page do not mention a specific FreeBSD version that
was successfully deployed by snf-image. The versions change.

10 years agodocs: Remove reference to a file:// img_id prefix
Nikos Skalkotos [Fri, 18 Oct 2013 12:25:48 +0000 (15:25 +0300)]
docs: Remove reference to a file:// img_id prefix

Remove a reference to the deprecated file:// img_id prefix in the
documentation

10 years agoBump version to 0.11-1~precise debian/0.11-1precise
Nikos Skalkotos [Fri, 18 Oct 2013 11:00:03 +0000 (14:00 +0300)]
Bump version to 0.11-1~precise

Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr>

10 years agoMerge branch 'master' into debian-precise
Nikos Skalkotos [Fri, 18 Oct 2013 10:59:46 +0000 (13:59 +0300)]
Merge branch 'master' into debian-precise

10 years agoUpdate version and ChangeLog for 0.11 0.11
Nikos Skalkotos [Fri, 18 Oct 2013 08:31:43 +0000 (11:31 +0300)]
Update version and ChangeLog for 0.11

10 years agoMerge branch 'develop'
Nikos Skalkotos [Fri, 18 Oct 2013 08:13:43 +0000 (11:13 +0300)]
Merge branch 'develop'

10 years agohelper: Fix a bug triggered by corrupted images
Nikos Skalkotos [Fri, 18 Oct 2013 08:03:52 +0000 (11:03 +0300)]
helper: Fix a bug triggered by corrupted images

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.

10 years agoFix minor typo
Nikos Skalkotos [Thu, 17 Oct 2013 12:32:55 +0000 (15:32 +0300)]
Fix minor typo

10 years agoFix some debug messages
Nikos Skalkotos [Thu, 17 Oct 2013 12:18:42 +0000 (15:18 +0300)]
Fix some debug messages

10 years agodocs: Change the FreeBSD version 9.2
Nikos Skalkotos [Tue, 15 Oct 2013 14:09:42 +0000 (17:09 +0300)]
docs: Change the FreeBSD version 9.2

In the sample images change the FreeBSD version from 9.1 to 9.2

10 years agoRifine the help messages in pithcat
Nikos Skalkotos [Mon, 14 Oct 2013 09:37:36 +0000 (12:37 +0300)]
Rifine the help messages in pithcat

Make sure to inform the users that the preferred way to define the
db url is through the PITHCAT_INPUT_DB environmental variable

10 years agodocs: Reflect the changes made in local backend
Nikos Skalkotos [Fri, 11 Oct 2013 11:50:50 +0000 (14:50 +0300)]
docs: Reflect the changes made in local backend

10 years agoPrint the img name and type in the logfile
Nikos Skalkotos [Fri, 11 Oct 2013 10:57:11 +0000 (13:57 +0300)]
Print the img name and type in the logfile

Echo IMG_NAME and IMG_TYPE so they get written in the ganeti os log
file. This is handy for debugging

10 years agoMerge branch 'feature-docs-rearrangement' into develop
Nikos Skalkotos [Tue, 8 Oct 2013 09:51:23 +0000 (12:51 +0300)]
Merge branch 'feature-docs-rearrangement' into develop

10 years agodocs: Extend the usage examples
Nikos Skalkotos [Tue, 8 Oct 2013 07:47:24 +0000 (10:47 +0300)]
docs: Extend the usage examples

10 years agodocs: Fix minor typos
Nikos Skalkotos [Mon, 7 Oct 2013 10:34:17 +0000 (13:34 +0300)]
docs: Fix minor typos

10 years agodocs: fix line break retaining code
Nikos Skalkotos [Mon, 7 Oct 2013 08:28:46 +0000 (11:28 +0300)]
docs: fix line break retaining code

10 years agodocs: factor out 'Interface' from 'Usage'
Constantinos Venetsanopoulos [Wed, 2 Oct 2013 15:29:51 +0000 (18:29 +0300)]
docs: factor out 'Interface' from 'Usage'

Factor out the 'Interface' logic from usage and put it in a
dedicated section before installation.

10 years agodocs: update Image Properties section
Constantinos Venetsanopoulos [Wed, 2 Oct 2013 15:21:02 +0000 (18:21 +0300)]
docs: update Image Properties section

10 years agodocs: split Image IDs and Storage backends
Constantinos Venetsanopoulos [Wed, 2 Oct 2013 14:11:59 +0000 (17:11 +0300)]
docs: split Image IDs and Storage backends

Split the section `Image IDs and Storage backends' to decouple
the actual feature, the logic and the configuration. Feature and
logic is moved to a new section under 'Architecture' and the rest
remain under 'Usage'. Also add examples for each case.

10 years agodocs: fixes in the architecture sections
Constantinos Venetsanopoulos [Tue, 1 Oct 2013 10:33:33 +0000 (13:33 +0300)]
docs: fixes in the architecture sections

10 years agodocs: image format details -> advanced section
Constantinos Venetsanopoulos [Tue, 1 Oct 2013 10:32:45 +0000 (13:32 +0300)]
docs: image format details -> advanced section

10 years agoChange the local back-end id format
Nikos Skalkotos [Fri, 4 Oct 2013 12:21:07 +0000 (15:21 +0300)]
Change the local back-end id format

The id now should contain the relative path from the HELPER_DIR to
the image filename, including the image-type extension if needed.

10 years agoAllow /'s in local back-end IDs
Nikos Skalkotos [Fri, 4 Oct 2013 10:18:18 +0000 (13:18 +0300)]
Allow /'s in local back-end IDs

Add extra code to check if the image path ends up being outside the
IMAGE_DIR directory

10 years agoChange the local-backend identifier to local://
Nikos Skalkotos [Thu, 3 Oct 2013 12:30:09 +0000 (15:30 +0300)]
Change the local-backend identifier to local://

This used to be file://

10 years agodocs: update and minor fixes in index page
Constantinos Venetsanopoulos [Mon, 30 Sep 2013 14:23:14 +0000 (17:23 +0300)]
docs: update and minor fixes in index page

10 years agoBump version to 0.10.1-1~precise debian/0.10.1-1precise
Nikos Skalkotos [Tue, 24 Sep 2013 12:11:25 +0000 (15:11 +0300)]
Bump version to 0.10.1-1~precise

Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr>

10 years agoMerge branch 'master' into debian
Nikos Skalkotos [Tue, 24 Sep 2013 08:54:43 +0000 (11:54 +0300)]
Merge branch 'master' into debian

10 years agoDon't install repo_pinning.pref
Nikos Skalkotos [Thu, 19 Sep 2013 13:25:35 +0000 (16:25 +0300)]
Don't install repo_pinning.pref

The file is removed

10 years agoFix postinstall script
Nikos Skalkotos [Mon, 23 Sep 2013 14:18:40 +0000 (17:18 +0300)]
Fix postinstall script

The script will create or alter the /etc/default/snf-image-update-helper
file

10 years agoUpdate debian's version_pinning.pref.in
Nikos Skalkotos [Fri, 20 Sep 2013 08:25:14 +0000 (11:25 +0300)]
Update debian's version_pinning.pref.in

To reflect the changes made during the transaction from squeeze to
wheezy

10 years agoReset the dlurl question in the configuring state
Nikos Skalkotos [Thu, 19 Sep 2013 13:59:54 +0000 (16:59 +0300)]
Reset the dlurl question in the configuring state

10 years agoDon't download the helper if dlurl is left blank
Nikos Skalkotos [Thu, 19 Sep 2013 10:53:57 +0000 (13:53 +0300)]
Don't download the helper if dlurl is left blank

if the snf-image/dlurl variable is left black, ommit to download the
helper image with snf-image-update-helper

10 years agoFix templates to automatically create the dlurl
Nikos Skalkotos [Thu, 19 Sep 2013 10:07:25 +0000 (13:07 +0300)]
Fix templates to automatically create the dlurl

10 years agoBump version to 0.10.1next
Nikos Skalkotos [Mon, 23 Sep 2013 15:42:43 +0000 (18:42 +0300)]
Bump version to 0.10.1next

10 years agoMerge branch 'hotfix-0.10.1' into develop
Nikos Skalkotos [Mon, 23 Sep 2013 15:41:34 +0000 (18:41 +0300)]
Merge branch 'hotfix-0.10.1' into develop

10 years agoMerge branch 'hotfix-0.10.1'
Nikos Skalkotos [Mon, 23 Sep 2013 10:09:45 +0000 (13:09 +0300)]
Merge branch 'hotfix-0.10.1'

10 years agoUpdate version.m4 and ChangeLog for 0.10.1 0.10.1
Nikos Skalkotos [Mon, 23 Sep 2013 10:00:51 +0000 (13:00 +0300)]
Update version.m4 and ChangeLog for 0.10.1

10 years agoMerge the ChangeLog files into one
Nikos Skalkotos [Mon, 23 Sep 2013 09:05:17 +0000 (12:05 +0300)]
Merge the ChangeLog files into one

10 years agoRephrase the snf-image-update-helper messages
Nikos Skalkotos [Fri, 20 Sep 2013 15:58:40 +0000 (18:58 +0300)]
Rephrase the snf-image-update-helper messages

10 years agoAdd version check in snf-image-update-helper
Nikos Skalkotos [Fri, 20 Sep 2013 15:00:58 +0000 (18:00 +0300)]
Add version check in snf-image-update-helper

10 years agoRemove HELPER_URL from defaults.in & common.sh.in
Nikos Skalkotos [Fri, 20 Sep 2013 13:55:51 +0000 (16:55 +0300)]
Remove HELPER_URL from defaults.in & common.sh.in

The variable should only exist in snf-image-update-helper. If the
user wants to overwrite the value, he should create it in
/etc/default/snf-image-update-helper

10 years agoBump version to 0.10.1
Nikos Skalkotos [Fri, 20 Sep 2013 13:38:49 +0000 (16:38 +0300)]
Bump version to 0.10.1

10 years agoUpdate ChangeLog and version file for 0.10 0.10
Nikos Skalkotos [Thu, 19 Sep 2013 14:52:38 +0000 (17:52 +0300)]
Update ChangeLog and version file for 0.10

10 years agoMerge branch 'develop'
Nikos Skalkotos [Thu, 19 Sep 2013 14:52:09 +0000 (17:52 +0300)]
Merge branch 'develop'

10 years agoAdd ubuntu installation instructions for snf-image
Nikos Skalkotos [Thu, 19 Sep 2013 12:24:31 +0000 (15:24 +0300)]
Add ubuntu installation instructions for snf-image

10 years agoFix a typo in the installation guide
Nikos Skalkotos [Thu, 19 Sep 2013 11:00:30 +0000 (14:00 +0300)]
Fix a typo in the installation guide

10 years agoMerge branch 'feature-documentation' into develop
Nikos Skalkotos [Thu, 19 Sep 2013 07:29:06 +0000 (10:29 +0300)]
Merge branch 'feature-documentation' into develop

10 years agoFix minor typos in the documentation
Nikos Skalkotos [Thu, 19 Sep 2013 07:27:21 +0000 (10:27 +0300)]
Fix minor typos in the documentation

10 years agoAdd documentation for progressr monitor interface
Nikos Skalkotos [Wed, 18 Sep 2013 13:43:11 +0000 (16:43 +0300)]
Add documentation for progressr monitor interface

Also fix various typos

10 years agoAdd link to diskdump images in the documentation
Nikos Skalkotos [Tue, 17 Sep 2013 13:59:26 +0000 (16:59 +0300)]
Add link to diskdump images in the documentation

10 years agoUpdate the documentation (part 3)
Nikos Skalkotos [Mon, 16 Sep 2013 16:52:05 +0000 (19:52 +0300)]
Update the documentation (part 3)

Add a section under Architecture about the Image Configuration Tasks

10 years agoUpdate the documentation (part 2)
Nikos Skalkotos [Mon, 16 Sep 2013 13:42:54 +0000 (16:42 +0300)]
Update the documentation (part 2)

Fill in the usage section of the documentation

10 years agoUpdate the documentation (part 1)
Nikos Skalkotos [Mon, 16 Sep 2013 10:22:48 +0000 (13:22 +0300)]
Update the documentation (part 1)

Fill in the architecture section of the documentation

10 years agoAdd template files for sqhinx documentation
Nikos Skalkotos [Fri, 13 Sep 2013 14:53:42 +0000 (17:53 +0300)]
Add template files for sqhinx documentation

10 years agoFix multistrap.conf
Nikos Skalkotos [Fri, 13 Sep 2013 12:42:51 +0000 (15:42 +0300)]
Fix multistrap.conf

Remove xen-linux-system-3.2.0-4-amd64 package and add packages from
the wheezy-helper suite of apt.dev.grnet.gr

10 years agoFix a bash bug affecting the network image backend
Nikos Skalkotos [Thu, 12 Sep 2013 14:13:01 +0000 (17:13 +0300)]
Fix a bash bug affecting the network image backend

10 years agoMerge branch 'feature-wheezy-helper' into develop
Nikos Skalkotos [Thu, 12 Sep 2013 13:59:20 +0000 (16:59 +0300)]
Merge branch 'feature-wheezy-helper' into develop

10 years agoRemove repo_pinning.pref
Nikos Skalkotos [Thu, 12 Sep 2013 13:43:28 +0000 (16:43 +0300)]
Remove repo_pinning.pref

It is no longer needed for the wheezy helper

10 years agoFix pinned package versions
Nikos Skalkotos [Wed, 11 Sep 2013 13:54:42 +0000 (16:54 +0300)]
Fix pinned package versions

10 years agoAdd the real kernel packages in multistrap.conf
Nikos Skalkotos [Wed, 11 Sep 2013 13:34:25 +0000 (16:34 +0300)]
Add the real kernel packages in multistrap.conf

Replace the meta packages with the real multistrap packages in
multistrap.conf

10 years agoMinor changes in the multstrap.conf
Nikos Skalkotos [Tue, 10 Sep 2013 14:25:21 +0000 (17:25 +0300)]
Minor changes in the multstrap.conf

Put linux-image-amd64 and xen-linux-system-amd64 in the GRNet section
of multistrap.conf

10 years agoUpdate multistrap to create a wheezy helper
Nikos Skalkotos [Mon, 9 Sep 2013 13:56:29 +0000 (16:56 +0300)]
Update multistrap to create a wheezy helper

Repo and version pinning does not work yet

10 years agoRename create-fixed helper script to create-helper
Nikos Skalkotos [Mon, 9 Sep 2013 12:18:19 +0000 (15:18 +0300)]
Rename create-fixed helper script to create-helper

Rename snf-image-create-fixed-helper script to snf-image-create-helper.
Also remove the command that will create a tar archive of the helper
files under /tmp

10 years agoBump version to 0.9.3next
Nikos Skalkotos [Mon, 2 Sep 2013 15:22:39 +0000 (18:22 +0300)]
Bump version to 0.9.3next

10 years agoMerge branch 'hotfix-0.9.3' into develop
Nikos Skalkotos [Mon, 2 Sep 2013 15:21:39 +0000 (18:21 +0300)]
Merge branch 'hotfix-0.9.3' into develop

10 years agoBump version to 0.9.3-1~squeeze debian/0.9.3-1squeeze
Nikos Skalkotos [Mon, 2 Sep 2013 14:32:04 +0000 (17:32 +0300)]
Bump version to 0.9.3-1~squeeze

Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr>

10 years agoMerge branch 'master' into debian
Nikos Skalkotos [Mon, 2 Sep 2013 14:31:42 +0000 (17:31 +0300)]
Merge branch 'master' into debian

10 years agoMerge branch 'hotfix-0.9.3' 0.9.3
Nikos Skalkotos [Mon, 2 Sep 2013 14:26:42 +0000 (17:26 +0300)]
Merge branch 'hotfix-0.9.3'