History | View | Annotate | Download (6.3 kB)
Force the use of 128 bytes inode size in ext?
This is needed by some GRUB legacy versions like the one shipped withCentOS 5.x
Update the linux common functions
In more detail:
Add code to detect ubuntu os in get_os
Check /etc/lsb-release to detect ubuntu systems. Also remove/usr/bin/lsb_release execution to detect os. There are systems likeUbuntu Server that have an executable /usr/bin/lsb_release that does notreturn usefull information and this makes os detection buggy.
Add unattended setup support
Inserted a new BOOT variable in common.sh
This variable instructs ganeti-instance-image wheather or not to createa boot partition in the instance creation process.
Further seperation of linux-specific things.
Added prefix linux_ to all the common_linux.sh functions `create'accesses. This will keep things simple when the scripts are extended tosupport more OS Families like Windows.
Moved all hooks to a seperate `linux' directory inside...
Moved linux specific functions out of common.sh
Created a seperated file `common_linux.sh' to host all linux specificcommon functions. This makes the design cleaner in order to add windowssupport to gnt-instance-image.
Attention: I haven't touched export, import, rename and verify yet. Only...