Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
112c86c6
Commit
112c86c6
authored
Mar 09, 2022
by
Francesc Guasch
Browse files
refactor: Debian ISO images configuration
parent
26afa940
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
112c86c6
...
...
@@ -1243,7 +1243,7 @@ sub _remove_old_isos {
.
"
WHERE url like '%debian-9.0%iso'
"
,"
DELETE FROM iso_images
"
.
"
WHERE name like 'Debian%'
"
.
"
AND NOT url like '%*%'
"
.
"
AND NOT
(
url like '%*%'
OR url like '%+%')
"
,"
DELETE FROM iso_images
"
.
"
WHERE name like 'Lubuntu Artful%'
"
.
"
AND url NOT LIKE '%*%'
"
...
...
sql/data/insert_iso_images.sql
deleted
100644 → 0
View file @
26afa940
INSERT
INTO
iso_images
(
name
,
description
,
arch
,
xml
,
xml_volume
,
url
,
file_re
,
md5_url
,
min_disk_size
)
VALUES
(
'Ubuntu Xenial Xerus 32 bits'
,
'Ubuntu 16.04 LTS Xenial Xerus 32 bits'
,
'i686'
,
'xenial-i386.xml'
,
'xenial-volume.xml'
,
'http://releases.ubuntu.com/16.04/'
,
'ubuntu-16.04.*desktop-i386.iso'
,
'$url/MD5SUMS'
,
'10'
);
INSERT
INTO
iso_images
(
name
,
description
,
arch
,
xml
,
xml_volume
,
url
,
file_re
,
md5_url
)
VALUES
(
'Debian Jessie 64 bits'
,
'Debian 8.5.0 Jessie 64 bits (netsinst)'
,
'x86_64'
,
'jessie-amd64.xml'
,
'jessie-volume.xml'
,
'http://cdimage.debian.org/cdimage/archive/8.5.0/amd64/iso-cd/'
,
'debian-8.5.0-amd64-netinst.iso'
,
'http://cdimage.debian.org/cdimage/archive/8.5.0/amd64/iso-cd/MD5SUMS'
);
INSERT
INTO
iso_images
(
name
,
description
,
arch
,
xml
,
xml_volume
,
url
,
file_re
,
md5_url
)
VALUES
(
'Ubuntu Zesty Zapus'
,
' Ubuntu 17.04 Zesty Zapus 64 bits'
,
'x86_64'
,
'zesty-amd64.xml'
,
'zesty-volume.xml'
,
'http://releases.ubuntu.com/17.04/'
,
'ubuntu-17.04.*desktop-amd64.iso'
,
'http://releases.ubuntu.com/17.04/MD5SUMS'
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment