<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/cloudinit/config, branch 20.4</title>
<subtitle> (mirror of https://github.com/vyos/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=20.4</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=20.4'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2020-11-20T20:59:51+00:00</updated>
<entry>
<title>Support configuring SSH host certificates. (#660)</title>
<updated>2020-11-20T20:59:51+00:00</updated>
<author>
<name>Jonathan Lung</name>
<email>lungj@users.noreply.github.com</email>
</author>
<published>2020-11-20T20:59:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=66b4be8b6da188a0667bd8c86a25155b6f4f3f6c'/>
<id>urn:sha1:66b4be8b6da188a0667bd8c86a25155b6f4f3f6c</id>
<content type='text'>
Existing config writes keys to /etc/ssh after deleting files matching
a glob that includes certificate files. Since sshd looks for
certificates in the same directory as the keys, a host certificate
must be placed in this directory. This update enables the certificate's
contents to be specified along with the keys.

Co-authored-by: jonathan lung &lt;lungj@heresjono.com&gt;
Co-authored-by: jonathan lung &lt;jlung@kepler.space&gt;</content>
</entry>
<entry>
<title>cc_resizefs on FreeBSD: Fix _can_skip_ufs_resize (#655)</title>
<updated>2020-11-19T22:19:16+00:00</updated>
<author>
<name>Mina Galić</name>
<email>me+git@igalic.co</email>
</author>
<published>2020-11-19T22:19:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=12ef7541c2d0c6b2cd510f95fda53ca9c8333064'/>
<id>urn:sha1:12ef7541c2d0c6b2cd510f95fda53ca9c8333064</id>
<content type='text'>
On FreeBSD, if a UFS has trim: (-t) or MAC multilabel: (-l) flag, resize
FS fail, because the _can_skip_ufs_resize check gets tripped up by the
missing options.

This was reported at FreeBSD Bugzilla: 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250496 and as
LP: #1901958

Rather than fixing the parser as in the patches proposed there (and
attempted in #636) this pull-request rips out all of it, and simplifies
the code.  We now use `growfs -N` and check if that returns an error. If
it returns the correct kind of error, we can skip the resize, because we
either are at the correct size, or the filesystem in question is broken
or not UFS. If it returns the wrong kind of error, we just re-raise it.

LP: #1901958</content>
</entry>
<entry>
<title>cli: add --system param to allow validating system user-data on a machine (#575)</title>
<updated>2020-11-18T14:23:44+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2020-11-18T14:23:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=f680114446a5a20ce88f3d10d966811a774c8e8f'/>
<id>urn:sha1:f680114446a5a20ce88f3d10d966811a774c8e8f</id>
<content type='text'>
Allow root user to validate the userdata provided to the launched
machine using `cloud-init devel schema --system`</content>
</entry>
<entry>
<title>Make some language improvements in growpart documentation (#649)</title>
<updated>2020-11-03T17:12:42+00:00</updated>
<author>
<name>Shane Frasier</name>
<email>maverick@maverickdolphin.com</email>
</author>
<published>2020-11-03T17:12:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=8dfd8801ab1329efe066876c037f71a73dcf3de1'/>
<id>urn:sha1:8dfd8801ab1329efe066876c037f71a73dcf3de1</id>
<content type='text'>
* Fix awkward English in sentence

* Add the missing word "the"

* Fix misspelling

* Add @jsf9k as a contributor

Co-authored-by: Rick Harding &lt;rharding@mitechie.com&gt;</content>
</entry>
<entry>
<title>remove unnecessary reboot from gpart resize (#646)</title>
<updated>2020-11-02T21:13:02+00:00</updated>
<author>
<name>Mina Galić</name>
<email>me+git@igalic.co</email>
</author>
<published>2020-11-02T21:13:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=2c4500394b2e3b3074468fffc4d91b404304bc39'/>
<id>urn:sha1:2c4500394b2e3b3074468fffc4d91b404304bc39</id>
<content type='text'>
a reboot after `gpart resize` hasn't been necessary since ca FreeBSD 9.2

Co-authored-by: Rick Harding &lt;rharding@mitechie.com&gt;</content>
</entry>
<entry>
<title>Correct documentation and testcase data for some user-data YAML (#618)</title>
<updated>2020-10-30T20:12:38+00:00</updated>
<author>
<name>dermotbradley</name>
<email>dermot_bradley@yahoo.com</email>
</author>
<published>2020-10-30T20:12:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=f8c84aeead77b7e508644d94889ee701f20e8d31'/>
<id>urn:sha1:f8c84aeead77b7e508644d94889ee701f20e8d31</id>
<content type='text'>
For cc_users_groups the user setting "expiredate" must be quoted in
order for the relevant flag and value to be then passed to the useradd
command. It its vaiue is not quoted then it is treated as Python type
datetime.date and in `cloudinit/distros/__init__.py` the below "is it a
string" condition fails and so no "--expiredate" parameter is passed to
useradd and therefore it has no effect:

```
if key in useradd_opts and val and isinstance(val, str):
    useradd_cmd.extend([useradd_opts[key], val])
```

For cc_users_groups, the user setting "inactive" does not actually
disable accounts, the useradd "--inactive" option actually defines the
number of days after password expiry that users can still login. So I
have changed the docs to show it taking a quoted value of days (which
works with the current code) rather than a boolean value.  The quotes
are necessary, like expiredate above, so that the value is also passed
to the useradd command.

For cc_power_state_change.py the "delay" setting value needs to have
quotes around it as otherwise its leading plus sign will be stripped
off.</content>
</entry>
<entry>
<title>Add config modules for controlling IBM PowerVM RMC. (#584)</title>
<updated>2020-10-28T18:06:09+00:00</updated>
<author>
<name>Aman306</name>
<email>45781773+Aman306@users.noreply.github.com</email>
</author>
<published>2020-10-28T18:06:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=f99d4f96b00a9cfec1c721d364cbfd728674e5dc'/>
<id>urn:sha1:f99d4f96b00a9cfec1c721d364cbfd728674e5dc</id>
<content type='text'>
Reliable Scalable Cluster Technology (RSCT) is a set of software
components that together provide a comprehensive clustering
environment(RAS features) for IBM PowerVM based virtual machines. RSCT
includes the Resource Monitoring and Control (RMC) subsystem. RMC is a
generalized framework used for managing, monitoring, and manipulating
resources. RMC runs as a daemon process on individual machines and needs
creation of unique node id and restarts during VM boot.

LP: #1895979

Co-authored-by: Scott Moser &lt;smoser@brickies.net&gt;</content>
</entry>
<entry>
<title>cc_mounts: correctly fallback to dd if fallocate fails (#585)</title>
<updated>2020-10-20T21:13:37+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>oddbloke@ubuntu.com</email>
</author>
<published>2020-10-20T21:13:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=5f8a2bbc5f26c7abafbc9bd3d1b1b655ffdcc1ae'/>
<id>urn:sha1:5f8a2bbc5f26c7abafbc9bd3d1b1b655ffdcc1ae</id>
<content type='text'>
`create_swap()` was previously catching and not re-raising the
ProcessExecutionError that indicated swap creation failure; this meant
that the fallback logic could never be triggered.

This commit adds the required re-raise (as well as removing a duplicated
log message).

LP: #1897099</content>
</entry>
<entry>
<title>Fix name of ntp and chrony service on CentOS and RHEL. (#589)</title>
<updated>2020-10-01T16:34:50+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2020-10-01T16:34:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=33c6d5cda8773b383bdec881c4e67f0d6c12ebd6'/>
<id>urn:sha1:33c6d5cda8773b383bdec881c4e67f0d6c12ebd6</id>
<content type='text'>
The service installed by the CentOS and RHEL 'ntp' package is
  ntpd.service
not
  ntp.service

Fix that for those two distros.

Also fix chrony service from 'chrony' to 'chronyd'.

LP: #1897915</content>
</entry>
<entry>
<title>Fix typo in resolv_conf module's description (#578)</title>
<updated>2020-09-22T14:52:05+00:00</updated>
<author>
<name>Wacław Schiller</name>
<email>torinthiel@users.noreply.github.com</email>
</author>
<published>2020-09-22T14:52:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=9d9f4f323fdf978b91c4df86534b533e582da923'/>
<id>urn:sha1:9d9f4f323fdf978b91c4df86534b533e582da923</id>
<content type='text'>
</content>
</entry>
</feed>
