Commit graph

62 commits

Author SHA1 Message Date
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
Eric Litak
de3ef47941 added LICENSE 2018-10-24 07:54:29 -07: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
Eric Litak
520f3973ac
Merge pull request #26 from obadz/dhcp
disable dhcp
2018-06-09 18:38:00 -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
Eric Litak
d69e8b73bb suggest 18.03 in readme to match config gen 2018-04-04 08:02:22 -07:00
Eric Litak
71c326e7a8
Merge pull request #22 from obadz/patch-4
missed one more usage of the old configuration keys
2018-03-25 07:43:28 -07:00
obadz
f657821bb5
missed one more usage of the old configuration keys 2018-03-24 16:29:49 +00:00
Eric Litak
87920dc1ce
Merge pull request #20 from obadz/patch-2
update ip4/ip6 configuration keys per 18.03 warnings
2018-03-23 18:27:41 -07:00
Eric Litak
28191523c6
Merge pull request #21 from obadz/patch-3
debian no longer has curl + 17.09 has been stable for a while
2018-03-23 18:26:49 -07:00
obadz
871e78ce16
debian no longer has curl + 17.09 has been stable for a while 2018-03-23 21:22:18 +00:00
obadz
6f696404e9
update ip4/ip6 configuration keys per 18.03 warnings 2018-03-23 20:37:49 +00:00
Eric Litak
769dce60c9 Merge pull request #15 from zimbatm/extra-imports
NIXOS_IMPORT option
2017-04-18 17:36:36 -07:00
zimbatm
5d8c2ed208 NIXOS_IMPORT option
Allow to boot and configure the machine in one go
2017-04-19 00:25:50 +01:00
Eric Litak
a025094b20 Merge pull request #14 from zimbatm/shellcheck
Shellcheck
2017-04-15 12:32:07 -07: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
Eric Litak
673c70f45c Merge pull request #13 from np/patch-1
Revert the `users.users.root` change
2017-04-11 16:29:24 -07:00
Nicolas Pouillard
ffb0e964c3 Revert the users.users.root change 2017-04-11 13:43:59 +02:00
Eric Litak
9d8dff9382 Merge pull request #12 from mmai/master
optional eth1, works on OVH VPS
2017-04-10 09:24:10 -07:00
Henri Bourcereau
3926cea21a optional eth1, works on OVH VPS 2017-04-10 17:50:09 +02:00
Eric Litak
49f9184636 Merge pull request #11 from obadz/nixos-17.03
nixos: 16.09 -> 17.03
2017-04-02 02:04:15 -07:00
obadz
04f90f5285 nixos: 16.09 -> 17.03 2017-04-02 09:51:28 +01:00
Eric Litak
75342d0e38 Merge pull request #10 from obadz/swap-cleanup
Cleanup Swap files & add README.md
2017-03-12 14:36:02 -07: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
Eric Litak
7c2f3e8e2d Merge pull request #9 from danbst/hetzner
support Hetzner vServer
2017-01-24 16:47: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
Eric Litak
1f9ecc40f6 Merge pull request #5 from obadz/release-16.09
use 16.09 channel by default
2016-09-07 17:01:28 -07:00
obadz
be0ffec9bc use 16.09 channel by default 2016-09-07 21:38:55 +01:00
Eric Litak
7c680bcd27 Merge pull request #4 from obadz/patch-1
lustrate is now in the unstable channel
2016-09-01 07:19:27 -07:00
obadz
070810b47a lustrate is now in the unstable channel 2016-09-01 02:47:35 +01:00
Eric Litak
4e2e63a812 Merge pull request #3 from obadz/nixos-infect-with-lustrate
Use NIXOS_LUSTRATE
2016-08-24 06:20:50 -07: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