1
0
mirror of https://github.com/lxc/lxc-templates.git synced 2025-01-31 07:50:19 +00:00

lxc-voidlinux.in: correct repo and docs urls

voidlinux.eu has not been under Void Linux's control for over 4 years:
https://voidlinux.org/news/2019/02/voidlinux-eu-gone.html

Signed-off-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
This commit is contained in:
classabbyamp 2023-07-19 17:36:58 -04:00 committed by GitHub
parent 5fc41e1086
commit 34f8a6590f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ userns_config="@LXCTEMPLATECONFIG@/voidlinux.userns.conf"
pkg_blacklist=("linux>=0" "e2fsprogs>=0" "btrfs-progs>=0" "xfsprogs>=0" "f2fs-tools>=0" "dosfstools>=0")
base_packages=()
for pkg in $(xbps-query -Mv --repository="http://repo2.voidlinux.eu/current/" -x base-system); do
for pkg in $(xbps-query -Mv --repository="https://repo-default.voidlinux.org/current/" -x base-system); do
containsElement "$pkg" "${pkg_blacklist[@]}" || base_packages+=($pkg)
done
declare -a additional_packages
@ -87,7 +87,7 @@ copy_configuration() {
}
install_void() {
if ! yes | xbps-install -Sy -R http://repo2.voidlinux.eu/current -r "${rootfs_path}" "${base_packages[@]}"
if ! yes | xbps-install -Sy -R https://repo-default.voidlinux.org/current -r "${rootfs_path}" "${base_packages[@]}"
then
echo "Failed to install container packages"
return 1
@ -194,6 +194,6 @@ fi
cat << EOF
Void Linux Container ${name} has been successfully created. The configuration is
stored in ${config_path}/config. Please refer to https://wiki.voidlinux.eu for
stored in ${config_path}/config. Please refer to https://docs.voidlinux.org for
information regarding Void Linux.
EOF