version bump for OS templates

This commit is contained in:
ghe0 2025-04-03 14:42:51 +03:00
parent b53d10abca
commit f0407edacc
Signed by: ghe0
GPG Key ID: 451028EE56A0FBB4
2 changed files with 31 additions and 26 deletions

@ -56,11 +56,14 @@ snpguest --help > /dev/null \
} }
try_countdown=20; try_countdown=20;
echo -n Trying $server
while [[ $try_countdown -gt 0 ]]; do while [[ $try_countdown -gt 0 ]]; do
echo -n .
curl --max-time 1 -k "https://$server" > /dev/null 2>&1 && break curl --max-time 1 -k "https://$server" > /dev/null 2>&1 && break
sleep 1 sleep 1
((try_countdown--)) ((try_countdown--))
done done
echo
openssl s_client -connect "$server" </dev/null \ openssl s_client -connect "$server" </dev/null \
| sed -n '/BEGIN CERTIFICATE/,/END CERTIFICATE/p' > "$server_crt" | sed -n '/BEGIN CERTIFICATE/,/END CERTIFICATE/p' > "$server_crt"

@ -406,24 +406,24 @@ lazy_static! {
kernel_sha: "e49c8587287b21df7600c04326fd7393524453918c14d67f73757dc769a13542".to_string() kernel_sha: "e49c8587287b21df7600c04326fd7393524453918c14d67f73757dc769a13542".to_string()
}; };
static ref DEFAULT_ARCHLINUX: Distro = Distro { static ref DEFAULT_ARCHLINUX: Distro = Distro {
name: "archlinux_2025-02-21".to_string(), name: "archlinux_2025-04-03".to_string(),
vendor: "gheorghe".to_string(), vendor: "gheorghe".to_string(),
template_url: "http://registry.detee.ltd/detee_arch_2025-02-21.fsa".to_string(), template_url: "http://registry.detee.ltd/detee_arch_2025-04-03.fsa".to_string(),
template_sha: "257edbf1e3b949b895c422befc8890c85dfae1ad3d35661010c9aaa173ba9fc4" template_sha: "7fdb19d9325c63d246140c984dc3764538f6ea329ed877e947993ea7bc8c2067"
.to_string() .to_string()
}; };
static ref DEFAULT_UBUNTU: Distro = Distro { static ref DEFAULT_UBUNTU: Distro = Distro {
name: "ubuntu_2025-02-28".to_string(), name: "ubuntu_2025-04-03".to_string(),
vendor: "gheorghe".to_string(), vendor: "gheorghe".to_string(),
template_url: "http://registry.detee.ltd/detee_ubuntu_2025-02-28.fsa".to_string(), template_url: "http://registry.detee.ltd/detee_ubuntu_2025-04-03.fsa".to_string(),
template_sha: "faa8bd38d02ca9b6ee69d7f5128ed9ccab42bdbfa69f688b9947e8e5c9e5d133" template_sha: "324895a7a1788e43253cf9699aa446df1a5519fe072917cedcc4ed356546e34a"
.to_string() .to_string()
}; };
static ref DEFAULT_FEDORA: Distro = Distro { static ref DEFAULT_FEDORA: Distro = Distro {
name: "fedora_2025-02-21".to_string(), name: "fedora_2025-04-03".to_string(),
vendor: "gheorghe".to_string(), vendor: "gheorghe".to_string(),
template_url: "http://registry.detee.ltd/detee_fedora_2025-02-21.fsa".to_string(), template_url: "http://registry.detee.ltd/detee_fedora_2025-04-03.fsa".to_string(),
template_sha: "c0fdd08d465939077ef8ed746903005fc190af12cdf70917cc8c6f872da85777" template_sha: "75a98c3744552bbf5f8e9c6a271cd0f382e1d9a846f5d577767b39293b8efda9"
.to_string() .to_string()
}; };
static ref ALTERNATIVE_INIT: Vec<Dtrfs> = vec![ static ref ALTERNATIVE_INIT: Vec<Dtrfs> = vec![
@ -450,24 +450,26 @@ lazy_static! {
]; ];
static ref ALTERNATIVE_DISTROS: Vec<Distro> = vec![ static ref ALTERNATIVE_DISTROS: Vec<Distro> = vec![
Distro { Distro {
name: "archlinux_2025-01-27".to_string(), name: "archlinux_2025-02-21".to_string(),
vendor: "gheorghe".to_string(), vendor: "gheorghe".to_string(),
template_url: "http://registry.detee.ltd/detee_arch_2025-01-27.fsa".to_string(), template_url: "http://registry.detee.ltd/detee_arch_2025-02-21.fsa".to_string(),
template_sha: "c8cc8ef611380c2d1fbab36e44ccfd8d666e344c7aaefe763f7dd6136b672c97" template_sha: "257edbf1e3b949b895c422befc8890c85dfae1ad3d35661010c9aaa173ba9fc4"
.to_string() .to_string()
}, }
,
Distro { Distro {
name: "ubuntu_2025-02-21".to_string(), name: "ubuntu_2025-02-28".to_string(),
vendor: "gheorghe".to_string(), vendor: "gheorghe".to_string(),
template_url: "http://registry.detee.ltd/detee_ubuntu_2025-02-21.fsa".to_string(), template_url: "http://registry.detee.ltd/detee_ubuntu_2025-02-28.fsa".to_string(),
template_sha: "180e43c46494c8b5cf2b19067995755ade1bbd80396e1fd5e1c4b164ed2fe8cf" template_sha: "faa8bd38d02ca9b6ee69d7f5128ed9ccab42bdbfa69f688b9947e8e5c9e5d133"
.to_string() .to_string()
}, }
,
Distro { Distro {
name: "fedora_2025-01-28".to_string(), name: "fedora_2025-02-21".to_string(),
vendor: "gheorghe".to_string(), vendor: "gheorghe".to_string(),
template_url: "http://registry.detee.ltd/detee_fedora_2025-01-28.fsa".to_string(), template_url: "http://registry.detee.ltd/detee_fedora_2025-02-21.fsa".to_string(),
template_sha: "68c5be46d668a12e8ff78692843a922315bd5cd9c2bb53accf2685ec3be1fa31" template_sha: "c0fdd08d465939077ef8ed746903005fc190af12cdf70917cc8c6f872da85777"
.to_string() .to_string()
} }
]; ];