Since EL9 does not contain the legacy network scripts,
add EL9 support without network-scripts dependency
Signed-off-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
New variable RECOMMENDS can be used as a weak dependency list on rpm and
deb based distros.
The package open-vm-tools is moved to RECOMMENDS on el7 and el8 due to
the absence of arm64 version of these packages in RH distros.
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
Periodically runs one-context-reconfigure to poll for changes
in vCenter context metadata to apply. Implemented via:
- systemd timer conditionally started only on vCenter
- cron job which checks for vmware and triggers service on non-systemd
Closes#185
Also enables support for Alpine post-upgrade script with warning
if it's necessary to run update-conf to apply new version of files
in /etc:
```
...
Executing one-context-6.1.80-r0.20210809gitbcd3c5b.post-upgrade
WARNING: Run update-conf to process any updated one-context files in /etc!
Executing busybox-1.33.1-r2.trigger
Executing eudev-3.2.10-r0.trigger
OK: 148 MiB in 118 packages
$ update-conf -l
//etc/one-context.d/loc-09-timezone
//etc/one-context.d/loc-30-console
//etc/one-context.d/loc-10-network
//etc/one-context.d/loc-16-gen-env
```
Closes#163
ifupdown2 is an alternative to classic ifupdown
https://github.com/CumulusNetworks/ifupdown2
It's allow to reload online network configuration with dependencies
and 100% compatible with classic ifupdown1 config.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
* F #159: Support ALT Linux
* F #159: Support ALT Linux
* F #159: Support ALT Linux
* F #159: add support for alias context
Co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
- remove vrouter dependencies from vanilla alpine
- rename legacy vrouter services with a tag #vr
Signed-off-by: Petr Ospalý <pospaly@opennebula.systems>
* BSD context
* BSD service scripts
* Added ToDo
* Add context scripts
* Freebsd packaging
* Freebsd packaging finished
* Rollback OS detection
* Fix bug with default gateway configuration
* Add services for pfsense
* Remove bsd context script
* Replace /bin/bash with /usr/bin/env bash
* Remove /bin/bash symlink creation
* Fix service naming
* Replace /bin/bash for /bin/sh on BSD service scripts
* Fix hardcoded cdrom drive
* Fix service start on boot bug on pfsense
* Fix bug when creating new users
* Fix bud with sudo
* Fix bug with crypted passwords
* Fix bug with hostname
* Fix sed bug related to hostname
* Fix bug with domains
* Fixed bug: variable should be local