-
Notifications
You must be signed in to change notification settings - Fork 3
/
99_cirruslabs.cfg
29 lines (26 loc) · 1.14 KB
/
99_cirruslabs.cfg
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
# We can't disable the Cloud Init because otherwise we loose the growpart functionality[1],
# so disable all data sources instead.
#
# Also see [2] for more details.
#
# [1]: https://cloudinit.readthedocs.io/en/latest/reference/modules.html#growpart
# [2]: https://github.com/cirruslabs/linux-image-templates/pull/8
datasource_list: [ None ]
# Cloud Init creates a /etc/ssh/sshd_config.d/50-cloud-init.conf file on Fedora
# with "PasswordAuthentication no" contents despite us setting the
# "ssh_pwauth: true" in "user-data" file, so override this behavior.
ssh_pwauth: true
# Since we disable all data sources above to speed-up the booting process,
# we need to somehow provide our DHCP identifier fix from "network-config".
network:
version: 2
ethernets:
all:
match:
name: en*
dhcp4: true
# Work around macOS DHCP server treating "hw_address" and "identifier" fields
# in /var/db/dhcpd_leases the same way and putting client identifier (which is
# a DUID/IAID) into the "hw_address" field, making it impossible to locate the
# corresponding entry given a MAC-address in "tart ip".
dhcp-identifier: mac