-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathubuntu.j2
More file actions
31 lines (31 loc) · 815 Bytes
/
ubuntu.j2
File metadata and controls
31 lines (31 loc) · 815 Bytes
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
28
29
30
31
- id: n{{ device_index }}
label: {{ name }}
node_definition: ubuntu
image_definition: null
boot_disk_size: null
cpu_limit: null
cpus: null
data_volume: null
ram: null
hide_links: false
tags: []
{% include 'cml/coordinates.j2' %}
configuration: |-
#cloud-config
hostname: {{ name }}
manage_etc_hosts: True
system_info:
default_user:
name: cisco
password: cisco
chpasswd: { expire: False }
ssh_pwauth: True
ssh_authorized_keys:
- your-ssh-pubkey-line-goes-here
interfaces:
{% for sot_int, emulated_int_dict in interfaces.items(): %}
- id: {{ emulated_int_dict['name'] }}
label: {{ sot_int }}
slot: {{ emulated_int_dict['index'] }}
type: physical
{% endfor %}