mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Amazon linux support
This commit is contained in:
parent
26c311b773
commit
4cc3c1d287
12 changed files with 34 additions and 31 deletions
|
@ -60,8 +60,8 @@ if [ -z "$sys_ip_check" ]; then
|
|||
/sbin/ip addr add $ip/$cidr dev $interface \
|
||||
broadcast $broadcast label $iface
|
||||
|
||||
# Adding RHEL/CentOS/Fedora startup script
|
||||
if [ -e "/etc/redhat-release" ]; then
|
||||
# Adding RHEL/CentOS/Fedora/Amazon startup script
|
||||
if [ -d "/etc/sysconfig" ]; then
|
||||
sys_ip="# Added by vesta"
|
||||
sys_ip="$sys_ip\nDEVICE=$iface"
|
||||
sys_ip="$sys_ip\nBOOTPROTO=static"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue