Skip to content

Commit

Permalink
lxc/config/default: Add images remote for images.lxd.canonical.com
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Parrott <[email protected]>
(cherry picked from commit ed8073c)
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
tomponline authored and simondeziel committed Jun 21, 2024
1 parent 4e97941 commit 4a699b0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lxc/config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ var LocalRemote = Remote{
Public: false,
}

// ImagesRemote is the main image server (over simplestreams).
var ImagesRemote = Remote{
Addr: "https://images.lxd.canonical.com",
Public: true,
Protocol: "simplestreams",
}

// UbuntuRemote is the Ubuntu image server (over simplestreams)
var UbuntuRemote = Remote{
Addr: "https://cloud-images.ubuntu.com/releases",
Expand All @@ -26,6 +33,7 @@ var UbuntuDailyRemote = Remote{
// StaticRemotes is the list of remotes which can't be removed
var StaticRemotes = map[string]Remote{
"local": LocalRemote,
"images": ImagesRemote,
"ubuntu": UbuntuRemote,
"ubuntu-daily": UbuntuDailyRemote,
}
Expand Down

0 comments on commit 4a699b0

Please sign in to comment.