+ fix error when CONTEXT_FILE is empty (not likely)
+ fix other warning/error messages shown in the log
+ make the script compliant with shellshock
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
* F #83: Add route metric support
- BSD has no support for metrics:
https://redmine.pfsense.org/issues/1521
Signed-off-by: Petr Ospalý <pospaly@opennebula.systems>
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
* F #83: Remove unsupported ipv6 metric
- distro's network scripts have no support for ipv6 metrics - no reason
then to provide ipv6 specific METRIC6 variable
- fix whitespace
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
* 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>
Dropped to align behaviour with other systems, where DNS configuration
is done through loc-11-dns. We should review this functionality later
once again to check if we can leave the DNS configureation on purely on
networking scripts everywhere....
Closes#147
This file was migrated from dedicated Alpine contextualization
repository. The reason why it was necessary to do explicit poweroff on
VMware poweroff action is unknown. Currently, it happens that VM with
this file doesn't properly poweroff, but just halts. So it looks like a better
option to drop this legacy file and depend on built-in logic.
We must make sure "one-context-force.service" is not run during boot
disk detection but on hotplug events.
When booting with a swap partition on the disk, the udev rules will
start the "one-context-force" service long before "one-context-local"
and "one-context".
This results in the system being in "degraded" state as reported by
"systemctl is-system-running".
* src/usr/lib/systemd/system/one-context-force.service##systemd.one:
add conditions to run only on hotplug events.
Signed-off-by: Daniel Dehennin <daniel.dehennin@ac-dijon.fr>
* F #964: Allow FILES_DS for vCenter
* F #964: Move code to one-contextd
* F #964: Use arithmetic expansion instead of let
* F #964: Decrease used vars