Vo Minh Thu
95f5810ef4
Add a Digital Ocean format. ( #47 )
2019-12-01 17:25:19 +00:00
Thomas Pham
1ca14a1c85
fix sd-aarch64 format, sdImage module has been refactored with new attributes
2019-11-25 21:31:39 +01:00
Lassulus
b0e9078158
ignore nix-support directory when finding filename ( #44 )
2019-10-08 23:06:45 +00:00
Lassulus
defb4eed14
Merge pull request #19 from nix-community/lxc
...
merge lxc format
2019-08-30 19:09:36 +02:00
lassulus
1575a022ca
add lxc image generator
2019-08-30 19:04:38 +02:00
David Kleuker
b7301e2806
Add link to LICENSE file to README ( #33 )
...
Also use SPDX full name
https://spdx.org/licenses/MIT.html
2019-08-19 18:16:16 +00:00
David Kleuker
673e43a6a9
Update README ( #32 )
...
With the latest install instructions ./ is not needed.
Install command can now be easier copied.
2019-08-19 14:07:08 +00:00
zimbatm
e6578895b5
add -I key=value option
...
Allow to inject other NIX_PATH search values like nixpkgs.
2019-08-19 16:06:30 +02:00
zimbatm
b050b7651b
rename var format to format_path
...
Just for consistency's sake
2019-08-19 15:58:31 +02:00
David Kleuker
20d40bf692
Extend default/example config to actually work ( #30 )
...
Now it not only builds but is also usable.
- You can login as root with password "nixos"
- You are logged in automatically on console (like installer)
- You can login as root with SSH
- You can connect to port 80
I have tested it with format "virtualbox" and "install-iso".
It's not best practice to use such insecure password,
but it's probably OK for this example for people to
see that it works.
2019-08-15 11:08:11 +00:00
zimbatm
9edb9f7bdf
use ext4 for the fsType ( #29 )
...
on master, `autoResize` can only be true if the `fsType` is explicitly
set.
2019-05-14 14:19:47 +00:00
zimbatm
e006f95894
Merge pull request #26 from thpham/cloudstack
...
add cloudstack image generator
2019-04-26 12:39:27 +02:00
Thomas Kim Pham
4055785d4a
cloudstack image documentation
2019-04-26 09:27:07 +02:00
Thomas Kim Pham
5c8b2165a3
add cloudstack image generator
2019-04-26 09:11:13 +02:00
Lassulus
e5e720c5f3
Merge pull request #25 from tfc/sd-aarch64-noinstaller
...
Add format sd-aarch64, rename sd-aarch64 to sd-aarch64-installer
2019-04-11 16:15:57 +09:00
Jacek Galowicz
d00d1f29cf
Update readme
2019-04-11 09:12:56 +02:00
Jacek Galowicz
5bb566506f
Add sd-aarch64-noinstaller format
2019-04-11 09:09:20 +02:00
Lassulus
7894d6e184
Merge pull request #24 from mrVanDalo/feature/cores
...
nix-build: add --cores parameter
2019-03-23 17:50:16 +09:00
Lassulus
d7e45d35e0
Merge pull request #23 from mrVanDalo/feature/aarch64
...
aarch64: add sd-aarch64-linux format
2019-03-23 17:48:40 +09:00
Ingolf Wanger
223d5c0579
nix-build: add --cores parameter
2019-03-22 22:57:14 +01:00
Your Name
9c52928089
aarch64: add sd-aarch64-linux format
2019-03-22 22:44:18 +01:00
lassulus
c54ce47d5d
openstack: rename nova-image to openstack-image
2019-02-21 03:20:24 +01:00
zimbatm
0cce7924f1
Cleanup ( #17 )
...
* rename eval-format.nix to nixos-generate.nix
Make it clear that it's meant to be used by the nixos-generate script
* rename config.nix to configuration.nix
Bring the name closer to /etc/nixos/configuration.nix
* fix the NIXOS_CONFIG
this is the env name that nixos-rebuild uses
* use -I to load the configuration and format
This has a nice side-effect of allowing URLs as configuration
* add Travis CI
* cleanSource
* gitignore nix result files
* use modulesPath everywhere
this makes sure that the passed pkgs in nixos-generate.nix is the same
one we use to load these other modules
* use toString to avoid evaluation error
2019-01-31 23:06:29 +01:00
lassulus
65ca979a13
formats: add azure
2019-01-24 11:49:16 +01:00
lassulus
942930d595
find runner in /bin of output
2019-01-22 07:38:54 +01:00
Lassulus
c7c260c014
Merge pull request #16 from Mic92/master
...
make nixos-generators installable
2019-01-22 07:23:02 +01:00
Jörg Thalheim
3fe1d1d26f
make nixos-generators installable
2019-01-22 00:19:28 +00:00
lassulus
dfb253fa74
README: add format descriptions
2019-01-20 21:35:04 +01:00
lassulus
dd1faf4a14
use realpath to allow relative paths
2019-01-20 21:11:45 +01:00
lassulus
ca7df9db1e
add nix-shell shebang for jq dependency
2019-01-20 21:11:45 +01:00
Lassulus
62935df891
Merge pull request #13 from mrVanDalo/master
...
Update README.md
2019-01-19 10:34:11 +01:00
Ingolf Wagner
9b6612c0ea
Update README.md
2019-01-18 22:17:38 +01:00
Lassulus
ef1e4480cf
Merge pull request #11 from zimbatm/configurable-system
...
add option to specify the target system
2019-01-18 10:41:01 +01:00
lassulus
517509f5bc
formats vm-nogui: resize on login
2019-01-17 22:01:05 +01:00
lassulus
02f33ab0c5
formats: add raw
2019-01-17 22:01:05 +01:00
lassulus
147d26d8df
formats/qcow: set grub.device with mkDefault
2019-01-17 21:54:58 +01:00
zimbatm
7dba49affb
add option to specify the target system
...
This could be useful if the machine has remote builders setup that
support the target system.
2019-01-17 19:41:50 +01:00
lassulus
bbe9e78bb3
add license
2019-01-17 17:38:32 +01:00
zimbatm
93e10d0aea
central command ( #8 )
...
* WIP: eval target
* rename nixos-build to nixos-generate
* rename target to format
* allow to pass arbitrary format paths
* add --help option
* add --list option
* port the rest of the formats
* add short options
* be more precise with the file selection
* use new trick I learned
* support the --run option
for the no-gui version:
./nixos-generate --run -f vm-no-gui
* document
* fixup! port the rest of the formats
* fix kexec-bundle
2019-01-17 15:18:00 +01:00
Lassulus
400b73364a
Merge pull request #7 from zimbatm/make-gce
...
add make-gce: make Google Compute Engine image
2019-01-15 19:18:50 +01:00
zimbatm
48956192c2
add make-gce: make Google Compute Engine image
2019-01-15 10:48:10 +01:00
Till Höppner
6bf7e8c291
add make-kexec-bundle ( #6 )
...
* add make-kexec-bundle
* kexec_tarball_self_extract_script: set -eu and fail with 1
* make-kexec-bundle: Print out-path directly
2019-01-14 22:41:20 +01:00
lassulus
6edfe60c40
bin/run-vm: remove unnecessary paranthesis
2019-01-13 15:54:30 +01:00
lassulus
3706884738
add bin/make-qcow
2019-01-13 15:53:59 +01:00
lassulus
4edb2d6d74
add run-vm-nogui
2018-10-26 18:44:19 +02:00
lassulus
e78fd31880
bin/*: pass extra arguments to nix-build
2018-10-20 20:27:37 +02:00
lassulus
b860ec156b
README.md: simplify introduction
2018-09-30 13:49:29 +02:00
Lassulus
3fd2032692
Merge pull request #3 from mrVanDalo/forward-ssh
...
Forward ssh & add .gitignore
2018-08-14 21:19:51 +02:00
Ingolf Wagner
731f48ca4e
add .gitignore
2018-08-11 20:40:57 +02:00
Ingolf Wagner
bfc32d6038
forward ssh port
2018-08-11 20:37:41 +02:00