Cloud-init Configuration File
This section provides instructions for creating a cloud-init configuration file for the Ubuntu Automated Server Installation.
Modifying the Configuration File
The following instructions outline the example configuration file. The example does not work as is and requires additional modifications as described in the following sections. For more information, refer to Ubuntu Automated Server Installation.
-
Begin the configuration file with the following header:
-
Define a default user (the example uses Ubuntu), localization, and keyboard layout.
-
The network section describes the network configuration and supports fixed addresses, DHCP, and various other network options. The names of the network interfaces are system-dependent. These are the primary management ports for various DGX systems. For example:
- DGX A100: enp226s0
- DGX H100/H200: eno3
- DGX B200: eno3
- DGX B300: eno1
- DGX GB200: enP5p9s0
- DGX GB300: enP5p9s0
-
Update the Subiquity installer to the edge channel.
-
Provide details about the additional NVIDIA repositories.
-
Configure storage for the target DGX platform.
The next section describes the storage configuration, including swap configuration and drive partitioning. Setting the size to 0 disables the swap partition. Refer to Drive Partitioning.
The
reorder_uefiflag tells the installer not to change the boot order to place the currently booted entry (BootCurrent) to the first option. -
Enable the SSH server.
You can also set a default SSH key.
-
Provide a list of packages that should be installed.
Refer to the comments in this text for instructions on changing the package names for specific DGX systems and on enabling or disabling features.
-
Add any additional software packages you want to install during autoinstall.
-
Finally, add a list of additional commands to be executed at the end of the installation.
- Disable unattended upgrades
- Configure the MLNX services
- Enable the NVIDIA Fabric Manager, NVIDIA Persistence Daemon, DCGM, and OpenIBD services
Drive Partitioning
Before using an autoinstall storage configuration, identify the system boot drives and record their serial numbers or WWNs. For example:
Use a stable identifier in each Curtin disk action. Do not use a device path
such as /dev/sda because device names can change between boots.
DGX A100, DGX H100/H200, DGX B200, and DGX B300 systems normally use two system drives in a RAID 1 configuration. The following example shows the general unencrypted layout:
- Create a GPT partition table on each system drive.
- Create a 512 MB EFI System Partition on each drive and mark both as boot devices.
- Use the remaining space on each drive for a RAID partition.
- Create the root file system on a RAID 1 device constructed from those partitions.
- Mount one EFI System Partition at
/boot/efi. Both EFI partitions remain bootable.
The wipe: superblock-recursive setting destroys existing data on the
matched drives. Replace both serial-number placeholders and verify them on
the target system before installation.
If the target system intentionally uses one system drive, remove the second disk and its partitions, do not create the RAID action, and format and mount the remaining root partition directly.
Do not include the DGX data drives in this storage configuration unless you intend to erase and reconfigure them. You can configure the data-drive RAID array after installation as described in Configuring Data Drives.
Storage layouts can vary with hardware revisions and site requirements. Test the completed autoinstall file on a non-production system of each target model before deploying it to a cluster.