From d7b827f6e818575c195cbd479a8d88b82e0df28b Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Sat, 29 Jul 2017 16:17:44 +0200 Subject: Run Ubuntu 16.04 and set MAC address for all cloudimage VM's. Without a MAC address, ens02 won't be renamed to eth0. --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 954eef4..0ba5861 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -72,11 +72,14 @@ class nrpe { node 'f1.ct.nordu.net' { sunet::cloudimage { 'frontend-1.urd.appendto.org': + description => 'catlfish frontend node', + image_url => 'https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img', dhcp => false, repo => 'https://git.nordu.net/ct-ops.git', tagpattern => 'ct-ops', cpus => '16', memory => '16384', + mac => '52:54:00:01:00:01', ip => '130.242.125.96', netmask => '255.255.255.192', gateway => '130.242.125.65', @@ -87,11 +90,14 @@ node 'f1.ct.nordu.net' { node 'm1.ct.nordu.net' { sunet::cloudimage { 'frontend-2.urd.appendto.org': + description => 'catlfish frontend node', + image_url => 'https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img', dhcp => false, repo => 'https://git.nordu.net/ct-ops.git', tagpattern => 'ct-ops', cpus => '16', memory => '16384', + mac => '52:54:00:02:00:01', ip => '130.242.125.137', netmask => '255.255.255.192', gateway => '130.242.125.129', @@ -99,11 +105,14 @@ node 'm1.ct.nordu.net' { ssh_keys => ['ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID4bv1RXziZSjHkKY5kDbxboNUGkHEpBivdX8fdvl7Zt linus@sunet.se'], } sunet::cloudimage { 'sign-2.urd.appendto.org': + description => 'catlfish signing node', + image_url => 'https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img', dhcp => false, repo => 'https://git.nordu.net/ct-ops.git', tagpattern => 'ct-ops', cpus => '2', memory => '4096', + mac => '52:54:00:02:00:02', ip => '193.10.80.178', bridge => 'br1', netmask => '255.255.255.248', @@ -115,12 +124,14 @@ node 'm1.ct.nordu.net' { node 'm0.ct.nordu.net' { sunet::cloudimage { 'merge-1.urd.appendto.org': + description => 'catlfish merge node', image_url => 'https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img', dhcp => false, repo => 'https://git.nordu.net/ct-ops.git', tagpattern => 'ct-ops', cpus => '8', memory => '16384', + mac => '52:54:00:03:00:01', ip => '130.242.125.95', netmask => '255.255.255.192', gateway => '130.242.125.65', @@ -128,11 +139,14 @@ node 'm0.ct.nordu.net' { ssh_keys => ['ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID4bv1RXziZSjHkKY5kDbxboNUGkHEpBivdX8fdvl7Zt linus@sunet.se'], } sunet::cloudimage { 'sign-1.urd.appendto.org': + description => 'catlfish signing node', + image_url => 'https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img', dhcp => false, repo => 'https://git.nordu.net/ct-ops.git', tagpattern => 'ct-ops', cpus => '2', memory => '4096', + mac => '52:54:00:03:00:02', ip => '193.10.80.146', bridge => 'br1', netmask => '255.255.255.248', -- cgit v1.1