Sha256: 8f921ea4b0ffcd5ce5ac1aa70f47e32a1d1179f8d4812b236270a858d6c33340

Contents?: true

Size: 778 Bytes

Versions: 1

Compression:

Stored size: 778 Bytes

Contents

- mtu: "1492"

- set_hostname:
  - exec_in: echo $$hostname > /etc/hostname

- enable_network:
  - exec_in: chkconfig network on

- set_host:
  - write_in:
    - /etc/hosts
    - |
      127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 $$hostname
      ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6 $$hostname

- set_interface:
  - write_in:
    - /etc/sysconfig/network-scripts/ifcfg-eth0
    - |
      DEVICE="eth0"
      BOOTPROTO="dhcp"
      HOSTNAME="$$hostname"
      IPV6INIT="yes"
      NM_CONTROLLED="yes"
      ONBOOT="yes"
      TYPE="Ethernet"
      MTU="$$mtu"
  - write_in:
    - /etc/sysconfig/network
    - |
      NETWORKING=yes
      HOSTNAME=$$hostname
      RES_OPTIONS="single-request-reopen"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kameleon-builder-2.2.5 templates/steps/setup/centos/6.5/configure_network.yaml