Image for demw1.komreg.net was added and replaced Berra's ssh key with mine for logging in to the kvm hosts primarily

This commit is contained in:
Maria Haider 2019-04-12 15:57:03 +02:00
parent 2ea4741b0b
commit a7a184e905
Signed by: mariah
GPG key ID: 7414A760CA747E57
2 changed files with 2 additions and 1 deletions

View file

@ -375,6 +375,7 @@ kvmdemw-fre-3a.komreg.net:
description: 'eid deutsche middleware'
cpus: '16'
memory: '32768'
image_url: 'https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img'
monitor-fre-3.komreg.net:
autoupdate:

View file

@ -17,7 +17,7 @@ define eid::cloudimage(
String $image_url = 'https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img',
) {
# This is a hack, use SSH keys from KVM host?
$_ssh_key = hiera('ssh_authorized_keys')['berra+96E0A9D4']
$_ssh_key = hiera('ssh_authorized_keys')['mariah+CA747E57']
$cloudimage_ssh_keys = [sprintf('%s %s %s', $_ssh_key['type'], $_ssh_key['key'], $_ssh_key['name'])]
sunet::cloudimage { $name: