blob: a23aac61af9624a1049c50002ed5954e500106c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#jinja2:lstrip_blocks: True
#cloud-config
{#
SPDX-FileCopyrightText: 2021 Anuket contributors
SPDX-License-Identifier: Apache-2.0
#}
users:
- name: {{ lookup('env', 'USERNAME') }}
ssh-authorized-keys:
- {{ lookup('file', pub_key ) }}
sudo: ['ALL=(ALL) NOPASSWD:ALL']
groups: sudo
shell: /bin/bash
runcmd:
# this is requried in labs where the PXE network is different from
# the public network. Without internet connectivity, the installation
# of BMRA fails
- [ iptables, -t, nat, -A, POSTROUTING, -o, ens3, -j, MASQUERADE ]
|