From 003e7d117cfb4df87e8f0eed2dcc4a2bfac2d168 Mon Sep 17 00:00:00 2001 From: Alejandro Huertas Herrero Date: Fri, 11 Jan 2019 14:01:48 +0100 Subject: [PATCH] F #911: Add alias/es support IPv4 (#136) * Add alias debian context. * Add alias centos context. * Add alias alpine context. --- src/etc/one-context.d/loc-10-network##apk.one | 30 +++++++++++++++++++ src/etc/one-context.d/loc-10-network##deb.one | 30 +++++++++++++++++++ src/etc/one-context.d/loc-10-network##rpm.one | 29 ++++++++++++++++++ 3 files changed, 89 insertions(+) diff --git a/src/etc/one-context.d/loc-10-network##apk.one b/src/etc/one-context.d/loc-10-network##apk.one index 4925c8f..bc445ec 100755 --- a/src/etc/one-context.d/loc-10-network##apk.one +++ b/src/etc/one-context.d/loc-10-network##apk.one @@ -123,6 +123,16 @@ EOT echo "" } +gen_alias_conf() { + cat < ${CONFIG_PATH}/ifcfg-${DEV} ifup ${DEV}