Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Releases: OpenNebula/addon-context-linux

v5.8.0

26 Feb 11:36
Compare
Choose a tag to compare

The release brings basic support for the FreeBSD 👿 guests, LXD hypervisor, and NIC aliases. Improves the security of run-time data directory, reorders the commands used to report ready state (also, consistently trusts the OneGate server SSL certificates in all various ways used to report the ready state), replaces usage of OpenSSL for base64 decoding with just base64 command, recontextualization is triggered only from the CD-ROM device type (not from any context device), and improves the systemd-networkd configuration generator.

Changes since previous stable version:

including changes since the pre-release:

FreeBSD support is still limited (for now we test just base functionality on 11.2 and 12.0 releases), also the txz package is missing any required dependencies. The package should be installed on the FreeBSD following way:

pkg install -y curl bash sudo base64 ruby open-vm-tools-nox11
pkg install -y one-context-[0-9]*.txz

Contextualization packages are compatible with OpenNebula versions from 4.6 to 5.8.

v5.7.80

06 Feb 10:07
Compare
Choose a tag to compare
v5.7.80 Pre-release
Pre-release

The beta release which comes with the OpenNebula 5.8 Beta. Brings basic support for the FreeBSD 👿 guests, LXD hypervisor, and NIC aliases. Improves the security of run-time data directory, reorders the commands used to report ready state, replaces usage of OpenSSL for base64 decoding with just base64 command, recontextualization is triggered only from the CD-ROM device type (not from any context device), improves the systemd-networkd configuration generator.

Changes since previous stable version:

FreeBSD support still limited (for now we test just base functionality on 11.2 and 12.0 releases), also the txz package is missing any required dependencies. The package should be installed on the FreeBSD following way:

pkg install -y curl bash sudo base64 ruby open-vm-tools-nox11
pkg install -y one-context-[0-9]*.txz

Contextualization package is compatible with OpenNebula versions from 4.6 to 5.8 Beta.

v5.6.0

16 Jul 10:07
Compare
Choose a tag to compare

This is the major release which brings improvements, many bugfixes and cleanups. The main feature is automatic live root volume resize and swap activation inside the virtual machine if an existing main disk is live resized via OpenNebula or new swap formatted disk is added. The login shell can be specified via context variable USERNAME_SHELL for a new custom user (set via USERNAME) and also SELinux contexts are fixed for custom user's SSH authorized keys. Text console blanking should be disabled. Contextualization packages upgrades behave better, wait for lock files is time-limited and logging less error-prone.

Now, the ISO image is also available with all contextualization packages.

Changes since previous stable version:

  • Clean up any Netplan configuration
  • gh-57: Generate ISO from the out/ directory
  • gh-85: Disk resize/attach triggers forced contextualization
  • gh-91: Time-limited lock acquire
  • gh-92: Fallback to file logging if system loggers not available
  • gh-93: New context option USERNAME_SHELL, few user related renamed
  • gh-94: Fix SELinux labels for custom user
  • gh-95: Disable console blanking
  • gh-100: Don't override GRUB_CMDLINE_LINUX_DEFAULT
  • gh-104: udev settle timeouts on OpenSUSE 42.3
  • gh-106: Post-install/upgrade package scripts
  • gh-108: Add functionality for keepalived check script
  • gh-109: Arch Linux added DNS and Domain support in systemd network unit
  • gh-113: Create new users with * in the encrypted password
  • and, small fixes in the packaging

Contextualization packages are compatible with OpenNebula versions from 4.6 to 5.6.

v5.4.2.1

26 Mar 14:10
0b7dbc8
Compare
Choose a tag to compare

This is a maintenance release, which reverts back the default password resetting functionality introduced in 5.4.2. Since 5.4.2, if VM template wasn't provided with any user password related context parameter (PASSWORD, CRYPTED_PASSWORD, PASSWORD_BASE64, or CRYPTED_PASSWORD_BASE64), the scripts locked the contextualized user account (usually root, but could be changed by USERNAME context parameter) to disallow the password login. As there was no easy way to disable this functionality, and many users needed to workaround that, we are disabling the default password resetting and providing a context parameter USERNAME_PASSWORD_RESET=yes to explicitly enable via the template.

  • gh-102: Optional password reset
  • gh-107: Disable password reset

Contextualization scripts are compatible with the OpenNebula versions from 4.6 to 5.4.

v5.4.2

03 Jan 16:20
ccfe4c4
Compare
Choose a tag to compare

The OpenNebula Linux contextualization packages arrive in the major update. We have refreshed the Amazon EC2 contextualization via dedicated one-context-ec2 packages, focusing on the systemd targets (CentOS 7, Debian 9 and Ubuntu 16.04). Alpine Linux contextualization scripts were merged from separate repo to align the quality and support with the rest of Linux contextualization scripts. Also, we now provide Alpine Linux 3.6 apk package. Packages now have more complete dependencies and /etc/one-context.d/ scripts aren't set as configuration files to prevent problems with leftovers on upgrades. Scripts should avoid long timeouts if the contextualization sources are missing (EC2, vCenter), the sudo is configured for the unprivileged user (set via USERNAME), and primary IP detection has been vastly improved.

  • gh-62: On non-EC2 fetching the EC2 user-data can take too long to fail
  • gh-78: Update EC2 Context packages (supported: CentOS 7, Debian 9, Ubuntu 16.04)
  • gh-80: Merge Alpine context packages
  • gh-82: systemd timed out waiting for the context device (vCenter)
  • gh-84: Only selected files in /etc are config files
  • gh-88, gh-89: Unprivileged user not able became a root
  • Reconfigure command not passed to the contextualization scripts
  • Unlink /etc/resolv.conf if symlinked (systemd-resolved)
  • Improved primary IP address detection
  • More packages dependencies

Contextualization scripts are compatible with the OpenNebula versions from 4.6 to 5.4.

v5.4.1

04 Aug 09:34
efd1b11
Compare
Choose a tag to compare

This is a maintenance release with following changes:

  • Changed type of the systemd delayed reconfigure service to allow subsequent reconfigurations, not only single one. This was an issue for vCenter VMs.
  • Added dependencies on open-vm-tools, qemu-guest-agent. These are automatically installed with contextualization package.

Contextualization scripts are compatible with the OpenNebula versions from 4.6 to 5.4, for IPv6 contextualization the OpenNebula 5.4 is required.

v5.4.0

18 Jul 14:21
864fba6
Compare
Choose a tag to compare

This release brings many improvements, from base runner to the new operating systems.

First of all, the repository was restructured to easily support various operating systems (targets) in the same directory structure via file tags. Also, the base contextualization scripts were split into pre- and post-networking stages, so that particular tasks can be started before or after the network is running.

We have now native service scripts for the systemd and upstart, logging, few security improvements or openSUSE and Devuan support. IPv6 contextualization has been updated for the OpenNebula 5.4. Rootfs resize was fixed for LVM on an extended partition.

We are now distributing several RPM packages; for RHEL/CentOS 6, RHEL/CentOS 7 and openSUSE (and their clones). For the Debian family (Debian, Ubuntu, and Devuan), there is just one package.

Changes since previous stable version:

  • gh-68: Restructure, logging, initial systemd support, pre/post network scripts
  • gh-70: README.md update: fpm 1.6.2 doesn't work anymore
  • gh-71: Fix systemd check on service registration
  • gh-72: Update 05-grow-rootfs##one to work with msdos partitioning and LVM in extended partition
  • gh-73: Improved IPv6 support
  • gh-74: Fix pre/post networking parts for SysV and Upstart
  • gh-75: Add: openSUSE support

including changes since the pre-release:

  • gh-76: Fixed IPv6 network on OpenSuse 42.2
  • gh-77: Refresh initramfs when dracut module, don't fail on growpart
  • Contextualization script ssh_host_key moved into pre-networking
  • More IPv6 improvements (openSUSE)
  • Improved upstart scripts (Ubuntu 14.04)
  • Removed cloud-init capability ("provides") from packages
  • Temporary files for START_SCRIPT/INIT_SCRIPTS are stored in /tmp

Contextualization scripts are mostly compatible with the OpenNebula versions from 4.6 to 5.4, for IPv6 contextualization the OpenNebula 5.4 is required.

v5.3.80

05 Jun 14:25
1510925
Compare
Choose a tag to compare
v5.3.80 Pre-release
Pre-release

This is a beta release which comes with the OpenNebula 5.4 Beta. It has improved IPv6 contextualization for the OpenNebula 5.4, systemd and upstart support and logging. Contextualization scripts were split into pre- and post-networking stages. Rootfs resize for LVM on an extended partition was fixed. New is also the OpenSUSE support. Debian package should also work fine with Devuan.

Please note we are distributing separate RPM packages for EL6 and EL7 (and their clones) and openSUSE. For the Debian family (Debian, Ubuntu, and Devuan) there is a single package.

  • gh-68: Restructure, logging, initial systemd support, pre/post network scripts
  • gh-70: README.md update: fpm 1.6.2 doesn't work anymore
  • gh-71: Fix systemd check on service registration
  • gh-72: Update 05-grow-rootfs##one to work with msdos partitioning and LVM in extended partition
  • gh-73: Improved IPv6 support
  • gh-74: Fix pre/post networking parts for SysV and Upstart
  • gh-75: Add: openSUSE support

Contextualization scripts are mostly compatible with the OpenNebula versions from 4.6 to 5.4, for IPv6 contextualization the OpenNebula 5.4 is required.

v5.0.3

11 Jan 10:12
7f462de
Compare
Choose a tag to compare

This release comes with several bugfixes and 2 significant improvements. The context USERNAME is created if missing on the virtual machine, the password can be also Base64 encoded (CRYPTED_PASSWORD_BASE64 or PASSWORD_BASE64). Code for setting the hostname was refactored to deal with the host and domain names and related local static DNS entries (/etc/hosts).

  • Create CONTEXT/USERNAME if missing, support CRYPTED_PASSWORD_BASE64 an PASSWORD_BASE64
  • gh-49: Use the IPv4 address if available
  • gh-49: Disable IPv6 autoconfiguration if we have IPv6 address
  • gh-58: Add btrfs to list of FS that growroot will resize
  • gh-61: Race condition in script start locking
  • gh-64: Improved host and domain name handling
  • gh-66: On Debian always use IPv4 if available, disable IPv6 autoconfiguration
  • gh-67: Race condition in SSH setup and user creation

Contextualization scripts are compatible with the OpenNebula versions from 4.6 to 5.2.

v5.0.2

24 Aug 11:23
Compare
Choose a tag to compare
  • gh-47: Configure loopback device in Ubuntu 14.04
  • gh-48: Excess gateway in interfaces file
  • gh-50: Network is not configured in Debian 8
  • gh-51: Get EC2 context data at the end
  • gh-53: In Ubuntu grub configures serial tty not supported by ONE