Skip to content

Commit

Permalink
📝 More minor fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Sep 29, 2022
1 parent 0fcfa40 commit 3d0a01d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion docs/src/pages/installation/manual.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To install manually, follow the [quickstart](/quickstart/installation). When the
To start the installation, run from the console:

```bash
sudo elemental install --device /dev/sda --cloud-init $CONFIG
sudo kairos manual-install --device "auto" $CONFIG
```

Where the configuration can be a cloud-init file or a URL to it:
Expand All @@ -31,3 +31,7 @@ kairos:
network_token: ....
# extra configuration
```

Note:
- the command is disruptive and will erase any content on the drive
- "auto" selects the biggest drive available in the machine
2 changes: 1 addition & 1 deletion tests/autoinstall_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var _ = Describe("kairos autoinstall test", Label("autoinstall-test"), func() {
fmt.Println(out)
} else {
// Eventually(func() string {
// out, _ := machine.Command("sudo systemctl status kairosososososos-agent")
// out, _ := machine.Command("sudo systemctl status kairososososos-agent")
// return out
// }, 30*time.Second, 10*time.Second).Should(ContainSubstring("no network token"))

Expand Down
2 changes: 1 addition & 1 deletion tests/reset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var _ = Describe("kairos reset test", Label("reset-test"), func() {
fmt.Println(out)
} else {
// Eventually(func() string {
// out, _ := Machine.Command("sudo systemctl status kairosososososos-agent")
// out, _ := Machine.Command("sudo systemctl status kairososososos-agent")
// return out
// }, 30*time.Second, 10*time.Second).Should(ContainSubstring("no network token"))

Expand Down
2 changes: 1 addition & 1 deletion tests/tests_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func gatherLogs() {
},
[]string{
"/var/log/edgevpn.log",
"/var/log/kairosos/agent.log",
"/var/log/kairos/agent.log",
"/run/pods.json",
"/run/disk",
"/run/mounts",
Expand Down

0 comments on commit 3d0a01d

Please sign in to comment.