Commit Graph

47 Commits

Author SHA1 Message Date
Jonas Chevalier
363d29d9b2
Create LICENSE 2022-12-23 11:44:25 +01:00
Jörg Thalheim
b36676a8f0
Merge pull request #12 from numtide/kuutamo
nixos-remote: DHCP is no longer a requirement
2022-12-23 10:29:32 +00:00
Jörg Thalheim
8b41ac3cd0 nixos-remote: DHCP is no longer a requirement 2022-12-23 11:29:18 +01:00
Jörg Thalheim
682174af4b
Merge pull request #11 from numtide/kuutamo
nixos-test: use evaluated kexec image
2022-12-23 10:27:55 +00:00
Jörg Thalheim
a13702601a nixos-test: use evaluated kexec image 2022-12-23 11:22:23 +01:00
zimbatm
932cf2331b
CI: publish docs to github pages 2022-12-21 19:43:45 +01:00
Jörg Thalheim
a5504c8b55
Merge pull request #10 from numtide/add-docs
add minimal docs framework
2022-12-21 18:38:10 +00:00
zimbatm
bcdaaa94ec
add minimal docs framework 2022-12-21 19:36:39 +01:00
zimbatm
170ef13bfb
remove POSIX sh
Use [[ ]] everywhere, use :- instead of +x
2022-12-21 19:07:29 +01:00
Jonas Chevalier
8db4c0a233
Merge pull request #6 from numtide/terraform
flakeify
2022-12-21 19:01:35 +01:00
zimbatm
32ba35c4ee
add shellcheck test 2022-12-21 18:53:39 +01:00
zimbatm
c919e03850
use git minimal
Reduce the closure size
2022-12-21 18:52:04 +01:00
Jörg Thalheim
3edc7471f0
check if kexec_url is a file 2022-12-21 18:48:34 +01:00
Jörg Thalheim
c5bf76c63e fix various shellcheck errors 2022-12-21 13:57:39 +01:00
Jörg Thalheim
d8aa89ebdd fix error message if now flakeAttr was passed 2022-12-21 13:55:36 +01:00
Jörg Thalheim
0fe84c2404 debug ssh commands if --debug is passed 2022-12-14 14:03:14 +01:00
Jörg Thalheim
4d85fa3fe2 bootstrap curl if apt is present 2022-12-14 13:37:31 +01:00
Jörg Thalheim
63bb08e6a3 if no downloader is found, print proper error message. 2022-12-14 13:30:45 +01:00
Jörg Thalheim
d9b5dac3a2 upgrade to 22.11 2022-12-14 13:25:31 +01:00
Jörg Thalheim
1ddff83733 nixos-remote: check if ssh-host is set 2022-12-09 16:20:48 +01:00
Jörg Thalheim
70de0d8478 drop unused arg flags 2022-12-09 15:43:28 +01:00
Jörg Thalheim
815059ff14 nixos-remote: don't display wrapped executable in usage
this is confusing and leaking implementation details.
2022-12-09 15:37:52 +01:00
Jörg Thalheim
d7b70fb4f9 nixos-remote: only set -x if debug is enabled 2022-12-09 15:26:44 +01:00
Jörg Thalheim
b3140d829d gitignore results 2022-12-09 15:08:07 +01:00
Jörg Thalheim
b0a2740aca package: include dependencies in wrapper 2022-12-09 15:08:07 +01:00
Jörg Thalheim
8f7cb3c73b also include aarch64-darwin 2022-12-09 15:08:07 +01:00
Jörg Thalheim
35d51df963 add flake for nixos-remote 2022-12-09 15:08:07 +01:00
lassulus
5ff6a4fe33 add initial tests 2022-12-09 14:04:16 +01:00
lassulus
ce572e526a always use ssh:// internally 2022-12-09 12:40:59 +01:00
lassulus
12f30fbd65 help: document --no-ssh-copy 2022-12-09 12:40:59 +01:00
lassulus
916ed0f6a5 allow settings store paths directly 2022-12-09 12:40:59 +01:00
lassulus
9b6c503575 ignore host keys during ssh-copy-id also 2022-11-25 16:35:33 +00:00
lassulus
f4235fead3 start installation with ssh-copy-id, allow custom kexec tarball 2022-11-24 17:29:15 +00:00
lassulus
e6788fcd68 use local eval and copy-closure to the target 2022-11-23 17:32:36 +00:00
Jörg Thalheim
4e957c8768 README: extend 2022-11-22 21:46:43 +01:00
Jörg Thalheim
ef1e3ea2c2 README: extend 2022-11-22 21:38:11 +01:00
lassulus
31a2d3fd99 fix tar test 2022-11-12 11:52:57 +01:00
lassulus
ede67c8d6f fix kexec test 2022-11-12 11:52:57 +01:00
Lassulus
536e7463d5
Merge pull request #1 from numtide/init 2022-11-10 21:11:54 +01:00
lassulus
28809e0ef9 check target OS 2022-11-10 17:15:00 +01:00
lassulus
ab86ca7927 add minimal README 2022-11-10 16:49:56 +01:00
lassulus
416390f6dd check if tar exists on target system 2022-11-10 16:46:53 +01:00
lassulus
b7c4b74bf9 ssh: use timout only for waiting 2022-11-10 16:45:14 +01:00
lassulus
650b6db62c ssh timeout 2022-11-10 15:31:43 +01:00
lassulus
5029d6a0fb add --kexec paramter to specify custom image 2022-11-10 15:30:50 +01:00
lassulus
6af2a6650f init nixos-remote 2022-11-10 14:42:06 +01:00
Lassulus
6ba303ea48
Initial commit 2022-11-09 13:36:40 +01:00