|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0 |
|
| #
ea310d18 |
| 29-Oct-2024 |
Baptiste Daroussin <[email protected]> |
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.
Approved by: re (cperviva) MFC after: 3 weeks Sponsored by: OVHCloud
(cherry picked from commit 2775b9b0bcc278dd4183b57784953c26a3fcdc89) (cherry picked from commit 6c682f5c3860a49cd0440599fffe1106c00ff830)
show more ...
|
|
Revision tags: release/13.4.0 |
|
| #
c96dbfbd |
| 26-Jul-2024 |
Jose Luis Duran <[email protected]> |
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 <[email protected]> (cherry picked from commit d71e2c037c942dbe2a9fd2630d5cf155dd1bf7db)
show more ...
|
|
Revision tags: release/14.1.0 |
|
| #
93b11fe0 |
| 17-Apr-2024 |
Baptiste Daroussin <[email protected]> |
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
(cherry picked from commit b6a4776008519bb4a1d5abfe63c46d5f00
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
(cherry picked from commit b6a4776008519bb4a1d5abfe63c46d5f009ce102)
show more ...
|
|
Revision tags: release/13.3.0, release/14.0.0, release/13.2.0, release/12.4.0 |
|
| #
16a6da44 |
| 23-Nov-2022 |
Baptiste Daroussin <[email protected]> |
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 Differential Revision: https://reviews.freebsd.org/D44141
(cherry picked from commit a42d6f76018e4ed8324e319ab48aac904bda437c) (cherry picked from commit c051f22bce42d920abba61bd7cf4ef5b6a270ffa) (cherry picked from commit b8c053c9a612651d4909f7a323088f3e92485b7b) (cherry picked from commit 9eae9233fdcc946945f4191e1413f548adfa2943)
show more ...
|