diff --git a/lxc/config/default.go b/lxc/config/default.go index aa862740efa8..caa4bdf5326c 100644 --- a/lxc/config/default.go +++ b/lxc/config/default.go @@ -30,19 +30,39 @@ var UbuntuDailyRemote = Remote{ Protocol: "simplestreams", } +// UbuntuMinimalRemote is the Ubuntu minimal image server (over simplestreams). +var UbuntuMinimalRemote = Remote{ + Addr: "https://cloud-images.ubuntu.com/minimal/releases/", + Static: true, + Public: true, + Protocol: "simplestreams", +} + +// UbuntuMinimalDailyRemote is the Ubuntu daily minimal image server (over simplestreams). +var UbuntuMinimalDailyRemote = Remote{ + Addr: "https://cloud-images.ubuntu.com/minimal/daily/", + Static: true, + Public: true, + Protocol: "simplestreams", +} + // StaticRemotes is the list of remotes which can't be removed. var StaticRemotes = map[string]Remote{ - "local": LocalRemote, - "ubuntu": UbuntuRemote, - "ubuntu-daily": UbuntuDailyRemote, + "local": LocalRemote, + "ubuntu": UbuntuRemote, + "ubuntu-daily": UbuntuDailyRemote, + "ubuntu-minimal": UbuntuMinimalRemote, + "ubuntu-minimal-daily": UbuntuMinimalDailyRemote, } // DefaultRemotes is the list of default remotes. var DefaultRemotes = map[string]Remote{ - "images": ImagesRemote, - "local": LocalRemote, - "ubuntu": UbuntuRemote, - "ubuntu-daily": UbuntuDailyRemote, + "images": ImagesRemote, + "local": LocalRemote, + "ubuntu": UbuntuRemote, + "ubuntu-daily": UbuntuDailyRemote, + "ubuntu-minimal": UbuntuMinimalRemote, + "ubuntu-minimal-daily": UbuntuMinimalDailyRemote, } // DefaultConfig returns the default configuration.