Skip to content

Commit 56c6810

Browse files
committed
fix(contrib/digitalocean): update network interface to eth1
1 parent f4bf6f2 commit 56c6810

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

contrib/digitalocean/cloud-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ coreos:
2525
- name: private.network
2626
content: |
2727
[Match]
28-
Name=ens4v1
28+
Name=eth1
2929
3030
[Network]
3131
Address=PRIVATE_IP

contrib/digitalocean/coreos-setup-environment

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ fi
1616
sed -i -e '/^COREOS_PUBLIC_IPV4=/d;/^COREOS_PRIVATE_IPV4=/d' $ENV
1717

1818
COREOS_PUBLIC_IPV4=$(ip -4 -o addr show dev eth0 | awk '{ print $4; }' | cut -d / -f1)
19-
COREOS_PRIVATE_IPV4=$(ip -4 -o addr show dev ens4v1 | awk '{ print $4; }' | cut -d / -f1)
19+
COREOS_PRIVATE_IPV4=$(ip -4 -o addr show dev eth1 | awk '{ print $4; }' | cut -d / -f1)
2020
echo COREOS_PUBLIC_IPV4=$COREOS_PUBLIC_IPV4 >> $ENV
2121
echo COREOS_PRIVATE_IPV4=$COREOS_PRIVATE_IPV4 >> $ENV

0 commit comments

Comments
 (0)