#
2775b9b0 |
| 29-Oct-2024 |
Baptiste Daroussin <bapt@FreeBSD.org> |
nuageinit: add support for OpenStack network config
Add naive support for openstack network config. if no config driver have been found, try to detect that we are running a VM on openstack via the s
nuageinit: add support for OpenStack network config
Add naive support for openstack network config. if no config driver have been found, try to detect that we are running a VM on openstack via the smbios information, use the first iface available and temporary activate dhcp on it, to be able to fetch the necessary informations for cloudinit.
While here make the rc script execute after devmatch, some ethernet device might be attached via devmatch and may be needed for cloudinit.
Tested on OVHCloud Public Cloud.
MFC after: 3 weeks Sponsored by: OVHCloud
show more ...
|
Revision tags: release/13.4.0 |
|
#
d71e2c03 |
| 26-Jul-2024 |
Jose Luis Duran <jlduran@gmail.com> |
nuageinit: Silence an fstyp(8) warning
Silence a warning emitted by fread(3) in fstyp(8)'s read_buf(), when detecting the file system type of the cloud-init device:
% fstyp /dev/iso9660/cidata
nuageinit: Silence an fstyp(8) warning
Silence a warning emitted by fread(3) in fstyp(8)'s read_buf(), when detecting the file system type of the cloud-init device:
% fstyp /dev/iso9660/cidata fstyp: fread: Invalid argument cd9660
Also rephrase slightly a comment while here.
Signed-off-by: Jose Luis Duran <jlduran@gmail.com>
show more ...
|
Revision tags: release/14.1.0 |
|
#
b6a47760 |
| 17-Apr-2024 |
Baptiste Daroussin <bapt@FreeBSD.org> |
nuageinit: start the script after zfs
It prevents the home directory for the new users to be hidden by late mount of the home directory
|
#
9eae9233 |
| 15-Mar-2024 |
Baptiste Daroussin <bapt@FreeBSD.org> |
nuageinit: be case insentive when looking got labels
Reported by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
|
Revision tags: release/13.3.0, release/14.0.0, release/13.2.0, release/12.4.0 |
|
#
a42d6f76 |
| 23-Nov-2022 |
Baptiste Daroussin <bapt@FreeBSD.org> |
nuageinit: add basic support for cloudinit.
this is a very early script to support cloudinit, it does not intend to be a full featured cloudinit client, but will support a good enough subset to be v
nuageinit: add basic support for cloudinit.
this is a very early script to support cloudinit, it does not intend to be a full featured cloudinit client, but will support a good enough subset to be viable in most case.
It support nocloud and openstack config-2 config drive mode (iso9660 or msdosfs)
The following features are currently supported: - adding users (including a default user named 'freebsd' with password 'freebsd' - adding groups - adding ssh keys - static ipv4, static ipv6, dynamic ipv4
With this one is able to use the 'bring your own image feature" out of box.
It is expected that the script grows the support of other clouds supporting cloud-init, contributions are welcomed.
It is designed to be only run once via the firstboot mecanism.
Sponsored by: OVHCloud MFC After: 3 weeks Differential Revision: https://reviews.freebsd.org/D44141
show more ...
|