DavHau
613fa20813
improve authorized_keys parsing ( #46 )
2020-02-19 15:22:02 -08:00
DavHau
d8512ed9d3
add LVM support ( #44 )
2020-02-13 17:04:27 -08:00
kosmonavtika
0c2eef5dbb
use nixos version 19.09 ( #42 )
2019-11-12 13:14:32 -08:00
Danylo Hlynskyi
38fb735eab
Make routes config explicit. ( #39 )
...
This helps Hetzner Cloud, which doesn't populate routes by
default and thus network doesn't work.
Fixes https://github.com/elitak/nixos-infect/issues/25
2019-10-11 00:32:54 -07:00
le Duc Banal
d28f8f9679
Update nixos-infect ( #38 )
...
Fix both issues cited in this [comment](https://github.com/elitak/nixos-infect/issues/18#issuecomment-508904427 )
2019-07-07 10:09:47 -07:00
Marek Mahut
6c6e63594d
Making swap sooner as dnf under DigitalOcean requires more memory ( #36 )
2019-05-10 19:42:20 -07:00
asymmetric
b95ff459a8
Use if rather than test before rebooting ( #35 )
...
* whitespace
* Use if rather than test before rebooting
When the -z returned false, the script would return its error code, 1,
resulting in a failure.
2019-05-05 11:23:09 -07:00
Lorenzo Manacorda
a009827712
add NO_REBOOT variable
...
Useful when nixos-infect is used within programs that manage the
machine's state, like nixops.
2019-04-21 05:41:52 -07:00
asymmetric
2d3b1dffa9
nixos 18.09 -> 19.03
...
Bump to latest release.
2019-04-19 16:44:08 -07:00
obadz
dc533ec3c9
Fix Startup Script issue on Vultr
2018-12-08 17:16:07 -08:00
obadz
5596ad166a
Support for Vultr
2018-12-08 02:14:22 -08:00
obadz
20853bf8d8
nixos 18.03 -> 18.09
2018-12-08 02:14:22 -08:00
Danylo Hlynskyi
1f8634dd48
more robust removeSwap
...
During my nixos-infect tests I have sometimes canceled infection in the middle.
Rerun of nixos-infect failed because there were some old swap files, which
were no longer available as swap devices.
`swapoff -a` will handle this for us (we are going reboot anyway)
2018-07-12 15:04:17 -07:00
Danylo Hlynskyi
89b92f3de1
Fix hardcode of eth0 in several places
...
The problem was that some VPS (from GigaCloud provider, Ukraine) provided `ens3` interface
name, but after infection it was renamed to `eth0` via udev rules.
2018-07-12 15:02:59 -07:00
ibrahim Sağıroğlu
914dad1039
fix eth1 rule ( #17 )
...
* fix eth1 rule
* gateway6 without eth1
* actually use eth0
2018-07-12 15:02:14 -07:00
obadz
82d0ebb06e
disable dhcp
2018-06-10 00:25:27 +01:00
Eric Litak
5d08c81d09
one last update to 18.03
2018-04-04 15:28:27 -07:00
obadz
f657821bb5
missed one more usage of the old configuration keys
2018-03-24 16:29:49 +00:00
obadz
6f696404e9
update ip4/ip6 configuration keys per 18.03 warnings
2018-03-23 20:37:49 +00:00
zimbatm
5d8c2ed208
NIXOS_IMPORT option
...
Allow to boot and configure the machine in one go
2017-04-19 00:25:50 +01:00
zimbatm
89c2c6b7f4
disable invalid shellcheck warnings
2017-04-15 17:59:26 +01:00
zimbatm
8f31ebc55d
SC2046: Quote this to prevent word splitting
2017-04-15 17:59:26 +01:00
zimbatm
e745ee3aa2
don't use bash arrays for values
2017-04-15 17:59:26 +01:00
zimbatm
9c0a833bda
SC2006: Use $(STATEMENT) instead of legacy STATEMENT
2017-04-15 17:59:26 +01:00
zimbatm
3bd6fe9352
SC2086: Double quote to prevent globbing and word splitting
2017-04-15 17:59:26 +01:00
zimbatm
ff398f6447
SC2068: Double quote array expansions to avoid re-splitting elements.
2017-04-15 17:59:26 +01:00
Nicolas Pouillard
ffb0e964c3
Revert the users.users.root
change
2017-04-11 13:43:59 +02:00
Henri Bourcereau
3926cea21a
optional eth1, works on OVH VPS
2017-04-10 17:50:09 +02:00
obadz
04f90f5285
nixos: 16.09 -> 17.03
2017-04-02 09:51:28 +01:00
obadz
2e513bee28
move doc into README.md
...
(and modify example user-data to include a NIX_CHANNEL version)
2017-03-12 21:24:45 +00:00
obadz
8c9034e579
remove swap partitions before rebooting.
...
Should help keep /old-root a bit smaller…
2017-03-04 15:23:24 +00:00
Eric Litak
9e1c0fdd42
nonfunctional fixes
2017-02-16 18:51:05 -08:00
Eric Litak
da8f61d2ff
fix depchecking, skip conf regen, no more -x
2017-02-14 01:25:42 -08:00
Eric Litak
c0b008b0ee
allow missing ip6 info
2017-02-14 00:37:47 -08:00
Eric Litak
0b48e18a3a
more refactoring, curl fallback to wget
2017-02-14 00:18:59 -08:00
Eric Litak
cad9b43b69
prepareEnv,checkEnv refactor; other tiny fixes
2017-02-13 17:54:50 -08:00
Данило Глинський (Danylo Hlynskyi)
cb40c94d58
support Hetzner vServer
...
This tweaks nixos-infect to be allow infecting some Hetzner servers.
Also, add some fallbacks (useful for debugging new backends)
2017-01-25 01:39:15 +02:00
Eric Litak
c6e0edb73b
eth1 stanza for private networking; fixes #7
2016-10-17 22:50:48 -07:00
obadz
be0ffec9bc
use 16.09 channel by default
2016-09-07 21:38:55 +01:00
obadz
070810b47a
lustrate is now in the unstable channel
2016-09-01 02:47:35 +01:00
obadz
5bd3deeb61
Use NIXOS_LUSTRATE
...
See https://github.com/NixOS/nixpkgs/pull/17784
2016-08-22 16:12:58 +01:00
Eric Litak
bbcb6a7f3e
switching to Fedora 24 for fewer hacks
2016-06-27 04:44:08 -07:00
Eric Litak
b57cfc038d
fixes for new droplet images
2016-06-25 10:14:20 -07:00
Eric Litak
1cee37fca0
no grub_bios workaround
2016-06-22 12:45:38 -07:00
Eric Litak
0ff9464dc7
notes
2016-05-29 10:40:45 -07:00
Eric Litak
8de6d61e15
don't ingest garbage from authorized_keys
2016-04-13 14:02:37 -07:00
Eric Litak
41d040d7d9
x86 fix
2016-04-10 14:31:40 -07:00
Eric Litak
d114dddb99
removing ssh-sub for now
2016-04-10 12:22:42 -07:00
Eric Litak
003ed20ebb
works but ssh-substituter doesnt for nixos-install and rebuild
2016-04-10 11:18:32 -07:00
Eric Litak
69787b1dc0
optimizations, comments
2016-04-09 12:40:51 -07:00