Get everything passing the flake checks
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
* text eol=lf
|
||||
* text eol=lf
|
||||
|
||||
@@ -94,4 +94,3 @@ hyperv-iso.amd64:
|
||||
description: >-
|
||||
Release $CI_COMMIT_TAG, found on [Vagrant Cloud](https://app.vagrantup.com/boxen/)
|
||||
as version v${BUILD}
|
||||
|
||||
|
||||
@@ -35,6 +35,10 @@ shellcheck:
|
||||
stage: generate
|
||||
script: nix run ".#shellcheck"
|
||||
|
||||
flake-check:
|
||||
stage: generate
|
||||
script: nix flake check
|
||||
|
||||
validate:
|
||||
stage: check
|
||||
needs:
|
||||
|
||||
+2
-2
@@ -33,12 +33,12 @@ Vagrant.configure("2") do |config|
|
||||
config.vm.provider "libvirt" do |lv|
|
||||
|
||||
end
|
||||
|
||||
|
||||
config.vm.provider "hyperv" do |hv, over|
|
||||
over.vm.network "private_network", bridge: "packer-amd64"
|
||||
#config.vm.network "private_network", bridge: "packer-amd64"
|
||||
end
|
||||
|
||||
|
||||
#
|
||||
# View the documentation for the provider you are using for more
|
||||
# information on available options.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
dnf clean all
|
||||
dnf clean all
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env sh
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -58,4 +58,4 @@ mv in-chroot.sh /mnt
|
||||
for fs in proc sys dev sys/firmware/efi/efivars; do mount -o bind /${fs} /mnt/${fs}; done
|
||||
chroot /mnt /bin/ash /in-chroot.sh
|
||||
rm /mnt/in-chroot.sh
|
||||
reboot
|
||||
reboot
|
||||
|
||||
@@ -54,4 +54,4 @@ virtualbox*)
|
||||
;;
|
||||
esac
|
||||
|
||||
efibootmgr --bootnext "${target}"
|
||||
efibootmgr --bootnext "${target}"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env sh
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env sh
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -58,4 +58,4 @@ mv in-chroot.sh /mnt
|
||||
for fs in proc sys dev sys/firmware/efi/efivars; do mount -o bind /${fs} /mnt/${fs}; done
|
||||
chroot /mnt /bin/ash /in-chroot.sh
|
||||
rm /mnt/in-chroot.sh
|
||||
reboot
|
||||
reboot
|
||||
|
||||
@@ -54,4 +54,4 @@ virtualbox*)
|
||||
;;
|
||||
esac
|
||||
|
||||
efibootmgr --bootnext "${target}"
|
||||
efibootmgr --bootnext "${target}"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env sh
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
dnf clean all
|
||||
dnf clean all
|
||||
|
||||
@@ -75,4 +75,3 @@ if [ "${virt}" == "microsoft" ]; then
|
||||
systemctl enable hypervvssd
|
||||
fi
|
||||
%end
|
||||
|
||||
|
||||
@@ -17,4 +17,4 @@ if [ "${virt}" == "microsoft" ]; then
|
||||
systemctl enable hyperv-daemons.hv-fcopy-daemon
|
||||
systemctl enable hyperv-daemons.hv-kvp-daemon
|
||||
systemctl enable hyperv-daemons.hv-vss-daemon
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -55,4 +55,4 @@ d-i preseed/late_command string
|
||||
chmod 440 /target/etc/sudoers.d/vagrant; \
|
||||
in-target apt-get update; \
|
||||
in-target apt-get upgrade -y; \
|
||||
in-target bash -c 'if [ "$(systemd-detect-virt)" == "microsoft" ]; then apt-get install -y hyperv-daemons; fi'
|
||||
in-target bash -c 'if [ "$(systemd-detect-virt)" == "microsoft" ]; then apt-get install -y hyperv-daemons; fi'
|
||||
|
||||
@@ -19,4 +19,4 @@ if [ "${virt}" == "microsoft" ]; then
|
||||
systemctl enable hv-fcopy-daemon
|
||||
systemctl enable hv-kvp-daemon
|
||||
systemctl enable hv-vss-daemon
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -49,4 +49,4 @@ d-i preseed/late_command string
|
||||
chmod 440 /target/etc/sudoers.d/vagrant; \
|
||||
sed -i -e 's/ens3/ens5/g' /target/etc/network/interfaces; \
|
||||
in-target apt-get update; \
|
||||
in-target apt-get upgrade -y
|
||||
in-target apt-get upgrade -y
|
||||
|
||||
@@ -19,4 +19,4 @@ if [ "${virt}" == "microsoft" ]; then
|
||||
systemctl enable hv-fcopy-daemon
|
||||
systemctl enable hv-kvp-daemon
|
||||
systemctl enable hv-vss-daemon
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -67,4 +67,4 @@ d-i preseed/late_command string
|
||||
chmod 440 /target/etc/sudoers.d/vagrant; \
|
||||
sed -i -e 's/ens3/ens5/g' /target/etc/network/interfaces; \
|
||||
in-target apt-get update; \
|
||||
in-target apt-get upgrade -y
|
||||
in-target apt-get upgrade -y
|
||||
|
||||
@@ -168,4 +168,3 @@ ssh-keygen -A
|
||||
|
||||
%end
|
||||
##### end kickstart post ############################################
|
||||
|
||||
|
||||
@@ -180,4 +180,3 @@ chcon -R unconfined_u:object_r:user_home_t:s0 /home/vagrant/.ssh
|
||||
|
||||
%end
|
||||
##### end kickstart post ############################################
|
||||
|
||||
|
||||
@@ -179,4 +179,3 @@ chcon -R unconfined_u:object_r:user_home_t:s0 /home/vagrant/.ssh
|
||||
|
||||
%end
|
||||
##### end kickstart post ############################################
|
||||
|
||||
|
||||
@@ -179,4 +179,3 @@ chcon -R unconfined_u:object_r:user_home_t:s0 /home/vagrant/.ssh
|
||||
|
||||
%end
|
||||
##### end kickstart post ############################################
|
||||
|
||||
|
||||
@@ -181,4 +181,3 @@ chcon -R unconfined_u:object_r:user_home_t:s0 /home/vagrant/.ssh
|
||||
|
||||
%end
|
||||
##### end kickstart post ############################################
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixstable, self, ... }@inputs:
|
||||
{ nixstable, ... }:
|
||||
{
|
||||
nixosConfigurations.vagrant = nixstable.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{...}:
|
||||
{ ... }:
|
||||
{
|
||||
virtualisation.vmware.guest = {
|
||||
enable = true;
|
||||
headless = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -61,4 +61,4 @@ rm /mnt/root/in-chroot.sh
|
||||
umount /mnt/boot
|
||||
umount /mnt
|
||||
efibootmgr --bootnext "$(efibootmgr | grep Linux | awk '{print $1}' | sed -E 's/[^0-9]//g')"
|
||||
reboot
|
||||
reboot
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixstable, self, ... }@inputs:
|
||||
{ nixstable, ... }:
|
||||
{
|
||||
nixosConfigurations.vagrant = nixstable.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{...}:
|
||||
{ ... }:
|
||||
{
|
||||
virtualisation.vmware.guest = {
|
||||
enable = true;
|
||||
headless = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -61,4 +61,4 @@ rm /mnt/root/in-chroot.sh
|
||||
umount /mnt/boot
|
||||
umount /mnt
|
||||
efibootmgr --bootnext "$(efibootmgr | grep Linux | awk '{print $1}' | sed -E 's/[^0-9]//g')"
|
||||
reboot
|
||||
reboot
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixstable, self, ... }@inputs:
|
||||
{ nixstable, ... }:
|
||||
{
|
||||
nixosConfigurations.vagrant = nixstable.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{...}:
|
||||
{ ... }:
|
||||
{
|
||||
virtualisation.vmware.guest = {
|
||||
enable = true;
|
||||
headless = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -61,4 +61,4 @@ rm /mnt/root/in-chroot.sh
|
||||
umount /mnt/boot
|
||||
umount /mnt
|
||||
efibootmgr --bootnext "$(efibootmgr | grep Linux | awk '{print $1}' | sed -E 's/[^0-9]//g')"
|
||||
reboot
|
||||
reboot
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
zypper clean -a
|
||||
zypper clean -a
|
||||
|
||||
@@ -122,4 +122,4 @@ root ALL=(ALL) NOPASSWD: ALL
|
||||
<file_location>https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub</file_location>
|
||||
</file>
|
||||
</files>
|
||||
</profile>
|
||||
</profile>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
zypper clean -a
|
||||
zypper clean -a
|
||||
|
||||
@@ -122,4 +122,4 @@ root ALL=(ALL) NOPASSWD: ALL
|
||||
<file_location>https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub</file_location>
|
||||
</file>
|
||||
</files>
|
||||
</profile>
|
||||
</profile>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
zypper clean -a
|
||||
zypper clean -a
|
||||
|
||||
@@ -122,4 +122,4 @@ root ALL=(ALL) NOPASSWD: ALL
|
||||
<file_location>https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub</file_location>
|
||||
</file>
|
||||
</files>
|
||||
</profile>
|
||||
</profile>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
zypper clean -a
|
||||
zypper clean -a
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
set -ex
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
dnf clean all
|
||||
dnf clean all
|
||||
|
||||
Reference in New Issue
Block a user