Created
August 17, 2017 13:18
-
-
Save anonymous/d0745397323d54d087965573eb540b06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initial output of command ifconfig - | |
jenkins@ubuntu:~$ ifconfig | |
lo Link encap:Local Loopback | |
inet addr:127.0.0.1 Mask:255.0.0.0 | |
inet6 addr: ::1/128 Scope:Host | |
UP LOOPBACK RUNNING MTU:65536 Metric:1 | |
RX packets:180 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:180 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1 | |
RX bytes:13512 (13.5 KB) TX bytes:13512 (13.5 KB) | |
---------------------------------------------------------- | |
jenkins@ubuntu:~$ cat /etc/network/interfaces | |
auto lo | |
iface lo inet loopback | |
source-directory interfaces.d | |
-------------------------------------------------------------- | |
jenkins@ubuntu:~$ cd /etc/network/interfaces.d/ | |
jenkins@ubuntu:/etc/network/interfaces.d$ | |
jenkins@ubuntu:/etc/network/interfaces.d$ ls | |
50-cloud-init.cfg | |
jenkins@ubuntu:/etc/network/interfaces.d$ | |
-- In this path (/etc/network/interfaces.d) the ens3.cfg this file should be injected which will setup the interface | |
and the content of that file should be - | |
auto ens3 | |
iface ens3 inet dhcp | |
-------------------------- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment