Ubuntu Pastebin

Paste from rr at Thu, 20 Jul 2017 19:18:55 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(foudres) cloud-init % cat network_configs/my-manual.yaml 
version: 1
config:
  - type: physical
    name: eth0
    mac_address: "52:54:00:12:34:00"
    subnets:
      - type: static
        address: 192.168.1.2/24
      - type: static
        control: manual
        address: 192.168.1.3/24
(foudres) cloud-init % cat target-sysconfig/etc/sysconfig/network-scripts/ifcfg-eth0 
# Created by cloud-init on instance boot automatically, do not edit.
#
BOOTPROTO=none
DEVICE=eth0
HWADDR=52:54:00:12:34:00
IPADDR=192.168.1.2
IPADDR1=192.168.1.3
NETMASK=255.255.255.0
NETMASK1=255.255.255.0
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
(foudres) cloud-init % 
Download as text