README.md in confctl-1.0.0 vs README.md in confctl-2.0.0

- old
+ new

@@ -11,10 +11,11 @@ * Rotation of old generations * Support for configuration interconnections (declare and access other machines' configurations) * Query machine state, view changelogs and diffs * Run health checks +* Support for creating netboot servers, see [docs/carrier.md](docs/carrier.md) ## Requirements * [Nix](https://nixos.org) @@ -38,25 +39,18 @@ stored: ``` mkdir cluster-configuration ``` -3. Prepare `shell.nix` in the new directory: - - Create a `shell.nix` and import the same file from confctl: +3. Create `shell.nix` and import the same file from confctl: ``` cd cluster-configuration cat > shell.nix <<EOF import ../confctl/shell.nix EOF ``` - - Alternatively, you can symlink `shell.nix` from the confctl repository: -``` -cd cluster-configuration -ln -s ../confctl/shell.nix shell.nix -``` - 4. Enter the `nix-shell`. This will make confctl available and install its dependencies into `.gems/`: ``` nix-shell ``` @@ -487,10 +481,10 @@ ``` Note that these modules are self-contained. They are not evaluated with the full set of NixOS modules. You have to import modules that you need. -## User-defined confctl commands +## User-defined confctl commands User-defined Ruby scripts can be placed in directory `scripts`. Each script should create a subclass of `ConfCtl::UserScript` and call class-method `register`. Scripts can define their own `confctl` subcommands. ### Example user script