forked from lix-project/lix-installer
Compare commits
2 commits
731ad9d4ee
...
60323508d6
Author | SHA1 | Date | |
---|---|---|---|
Artemis Tosini | 60323508d6 | ||
Artemis Tosini | 46eb5369d2 |
|
@ -138,8 +138,10 @@ let
|
|||
targetArg = pkg: "--substitution-targets ${pkg.outPath}";
|
||||
targetArgs = lib.concatMapStringsSep " " targetArg rootPaths;
|
||||
in {
|
||||
# We need -O for the old scp protocol because RHEL 8 has old SSH with broken SFTP
|
||||
# Might be deprecated soon, so remove when we remove RHEL 8
|
||||
copyTarball = ''
|
||||
scp -P 20022 $ssh_opts -r ${binaryCache} vagrant@localhost:binaryCache
|
||||
scp -O -P 20022 $ssh_opts -r ${binaryCache} vagrant@localhost:binaryCache
|
||||
'';
|
||||
install = ''
|
||||
pushd binaryCache
|
||||
|
@ -429,25 +431,10 @@ let
|
|||
disableSELinux = "sudo setenforce 0";
|
||||
|
||||
images = {
|
||||
|
||||
# End of standard support https://wiki.ubuntu.com/Releases
|
||||
# No systemd
|
||||
/*
|
||||
"ubuntu-v14_04" = {
|
||||
"ubuntu-v20_04" = {
|
||||
image = import <nix/fetchurl.nix> {
|
||||
url = "https://app.vagrantup.com/ubuntu/boxes/trusty64/versions/20190514.0.0/providers/virtualbox.box";
|
||||
hash = "sha256-iUUXyRY8iW7DGirb0zwGgf1fRbLA7wimTJKgP7l/OQ8=";
|
||||
};
|
||||
rootDisk = "box-disk1.vmdk";
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
*/
|
||||
|
||||
# End of standard support https://wiki.ubuntu.com/Releases
|
||||
"ubuntu-v16_04" = {
|
||||
image = import <nix/fetchurl.nix> {
|
||||
url = "https://app.vagrantup.com/generic/boxes/ubuntu1604/versions/4.1.12/providers/libvirt.box";
|
||||
hash = "sha256-lO4oYQR2tCh5auxAYe6bPOgEqOgv3Y3GC1QM1tEEEU8=";
|
||||
url = "https://app.vagrantup.com/generic/boxes/ubuntu2004/versions/4.3.12/providers/libvirt.box";
|
||||
hash = "sha256-lo6fkz6N/Q9mdD+RWoUssak9TVod0F7QSgZvxnMj9IQ=";
|
||||
};
|
||||
rootDisk = "box.img";
|
||||
system = "x86_64-linux";
|
||||
|
@ -462,50 +449,16 @@ let
|
|||
system = "x86_64-linux";
|
||||
};
|
||||
|
||||
"fedora-v36" = {
|
||||
"fedora-v39" = {
|
||||
image = import <nix/fetchurl.nix> {
|
||||
url = "https://app.vagrantup.com/generic/boxes/fedora36/versions/4.1.12/providers/libvirt.box";
|
||||
hash = "sha256-rxPgnDnFkTDwvdqn2CV3ZUo3re9AdPtSZ9SvOHNvaks=";
|
||||
url = "https://app.vagrantup.com/generic/boxes/fedora39/versions/4.3.12/providers/libvirt.box";
|
||||
hash = "sha256-VJbWmcy3XiEm7cUAXtod8VlFwsIwnVYlZ/LYTuoj9WI=";
|
||||
};
|
||||
rootDisk = "box.img";
|
||||
system = "x86_64-linux";
|
||||
upstreamScriptsWork = false; # SELinux!
|
||||
};
|
||||
|
||||
"fedora-v37" = {
|
||||
image = import <nix/fetchurl.nix> {
|
||||
url = "https://app.vagrantup.com/generic/boxes/fedora37/versions/4.2.14/providers/libvirt.box";
|
||||
hash = "sha256-rxPgnDnFkTDwvdqn2CV3ZUo3re9AdPtSZ9SvOHNvaks=";
|
||||
};
|
||||
rootDisk = "box.img";
|
||||
system = "x86_64-linux";
|
||||
upstreamScriptsWork = false; # SELinux!
|
||||
};
|
||||
|
||||
# Currently fails with 'error while loading shared libraries:
|
||||
# libsodium.so.23: cannot stat shared object: Invalid argument'.
|
||||
/*
|
||||
"rhel-v6" = {
|
||||
image = import <nix/fetchurl.nix> {
|
||||
url = "https://app.vagrantup.com/generic/boxes/rhel6/versions/4.1.12/providers/libvirt.box";
|
||||
hash = "sha256-QwzbvRoRRGqUCQptM7X/InRWFSP2sqwRt2HaaO6zBGM=";
|
||||
};
|
||||
rootDisk = "box.img";
|
||||
upstreamScriptsWork = false; # SELinux!
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
*/
|
||||
|
||||
"rhel-v7" = {
|
||||
image = import <nix/fetchurl.nix> {
|
||||
url = "https://app.vagrantup.com/generic/boxes/rhel7/versions/4.1.12/providers/libvirt.box";
|
||||
hash = "sha256-b4afnqKCO9oWXgYHb9DeQ2berSwOjS27rSd9TxXDc/U=";
|
||||
};
|
||||
rootDisk = "box.img";
|
||||
upstreamScriptsWork = false; # SELinux!
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
|
||||
"rhel-v8" = {
|
||||
image = import <nix/fetchurl.nix> {
|
||||
url = "https://app.vagrantup.com/generic/boxes/rhel8/versions/4.1.12/providers/libvirt.box";
|
||||
|
|
Loading…
Reference in a new issue