IF Commons GitHub

kickstart

Written to: 4 requirements: 4 proved, 0 partly, 0 failing, 0 with no test recorded. 0004-kickstart-dialect FR-001, 0004-kickstart-dialect FR-002, 0004-kickstart-dialect FR-003, 0004-kickstart-dialect FR-004

The unattended install of one machine, as the installer of the Red Hat family (Anaconda) reads it: a Kickstart file made from the same facts as the Ubuntu autoinstall and the Debian preseed (InstallSpec). The secret is never in what is rendered: a placeholder stands for the hash of the administrator's password, and the boot server puts it in when it serves the file. After the install the machine is handed to its signed repository exactly as the others are: the same files, the same converge script and the same timer are written to the new system.

Anaconda's environment has neither curl nor lsblk, so the blank-disk guard cannot run in it: the install erases the disk it picks.

import { kickstart } from "./kickstart.ts";
// kickstart(spec).includes("rootpw --lock"); // true for any spec

Source: commons/archon-dialect-cloud-init/src/kickstart.ts

1 of 1 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

kickstartfunction
function kickstart(spec: InstallSpec, passwordHash?: string, repository?: string): string

The Kickstart of a machine. The password hash is the placeholder unless it is given (by the boot server, at the moment it serves the file). lvm is Anaconda's logical volumes, direct plain partitions; ZFS is not an option of the installer. repository is where the installer finds its packages, as the profile's command line says it.

Imported by 4 tests of the run (4 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.