Accepting request 884538 from home:cyphar:lxc

- Update to LXD 4.13. The full upstream changelog is available from:
  https://discuss.linuxcontainers.org/t/lxd-4-13-has-been-released/10737
  boo#1184580

  + Support for instance filters in "lxc list"
  + NVIDIA MIG support for containers
  + System wide configuration in /etc/lxd
  + Project resource usage
  + Snapshot schedule aliases (cron-like @... aliases)
  + images.default_architecture for multi-architecture setups
  + New description column in "lxc {project,profile,storage} list"
  + Reworked handling of default action in network ACLs
  + "lxc stop --console"
  + More auto-generated REST-API documentation

OBS-URL: https://build.opensuse.org/request/show/884538
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=84
This commit is contained in:
Aleksa Sarai 2021-04-12 05:54:31 +00:00 committed by Git OBS Bridge
parent c35dcc13d5
commit 9364e3e2c2
7 changed files with 69 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c5b87eb20e49f11084afb29224b6bad7a69bbdd8eaa99941c106149234bf1e1
size 15605223

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEYC9WdmPlk7y9FPM4xjiXTWR5LWcFAmBBpE4ACgkQxjiXTWR5
LWeNbQ/9EPt6OCvZVapdnByQJEaOjqru5sxXJXUppcVSZJ39jM/W5uA3emoJzUhZ
+H3p93AYlVqYr7yNA1d2ZFJeejzvV9QONZqeL917+EnIOSy+BnNrqc/Sxxqu3J89
D3Zbauejm31U+v5C1FaJrIXiO5wn3vmCcYfRCI/PVj9F4I/m/NvnDRm7zSlRAqzK
9LgFKi5lDwr02iejYNM4eikLpU80a6zjxo3ymoDTpKEJhPPHaDDN2Djr6Vri1Fsp
EuqijPawdTwDy2hoZQbcbgiGtVwqJfvP1YGgmgdmkwoW9wdItuGNTq+q4kZDBXi7
hTkOtkDg+l4gbWe2ZqUcd0kBlVPRbs2tdrAiBGbgfed561+hwpgqA8FGxLqZltzc
3+in2VdZmbJPfpz0aiulfAfTZdyfKPTUKdlFfH6Uu3UJkM4eN9FLu/Dvk4VlcLxI
FMRlAIulquXZ6ZpW6tlX13M795nqukjaJ8LbJ0ztMGMIsgNVgNrtIOdwJ26e8g/y
jR/kG0IxUEfmWQY/QW8j8v96a+/YqHdIiS5HXf0G2fKk6G6w7hBOH+tedYxQcneg
ZFnt3cjT2BslReryIuSs4Mcr+mFp1j1hR0QjcT9CopAysNJe8/qBSIcjz42skBHc
M05GDjwOiwIfgp+YKYuBvpswndnoNpwR7p++Ncan70GeSM3uXkw=
=4mxK
-----END PGP SIGNATURE-----

3
lxd-4.13.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8efd95ad4023e0d197490deb169512977ce81e3560cfd5dd93511ae438405970
size 15675966

16
lxd-4.13.tar.gz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEYC9WdmPlk7y9FPM4xjiXTWR5LWcFAmBwqVAACgkQxjiXTWR5
LWcrUg//VqiDwy5ik/tDTEUeatPSH2tugFYSCuWqR/r9w3N+nI5QDEau2AhTU8Ux
XLl9RqLbeNyuEtzrNnUXzbd0Np+X0PsKeMpXxwG0IX/n9PU31DyZlt6tU2NgC0X6
mrGQUGmWKpKrxWheAHmR6t4EXr3hU6OiGv5bmP5B7vD/ckjEYMsNA/igPVGFtMr2
nvLrU4VQ6pXfh/1a8ViE+81aIXl3pvw4a7NnXTa+nxv3zGSNQjdbx5hHrF2pKsfW
iQja3FFa/EWOzmGFGgGvL+T2m/csmA4ju1JahGxcoO1Ikejvh3Ch0+TRQGrUWeAT
T68xvgv+k5hf+XJA3+oD/cQe2KqywmxoH0IUaS4OxV5dI2PyTmz51yQuzSfwoQjB
G079XuUaZbsvNEqr8reDl3Rg8Eh0hdbUrK3u5W7KvlZOkfIqHo06xrbruxZVs27l
YSUbjjLC+JAT0t9vGJ90xFn+VoMlokkDm2nTNq5pgf3g4nmuIwVuLN1pQRHaiz6n
gjAuYHMi1uojyO0eL+JKOIedNz1a297wXugDLsy/DV7pS+cmkq6287YahHdyh6LB
PyRQJHZBw+gksMhiXo1arUBkj+5N1iTBkKT+Sk4r6qrGe8t8aE3UzBZ+zDafd8U9
LDKMvDU5dIN5xGFuFmbPdAI710WCzp8HR+3gmSUcJFYUp+YlTlE=
=lIcZ
-----END PGP SIGNATURE-----

21
lxd-config.yml Normal file
View File

@ -0,0 +1,21 @@
# This is an example system-wide configuration file for the lxc client. Any
# configuration entries added here will be merged with a user's configuration
# when they run "lxc". This is primarily useful for defining system-wide
# remotes, whose certificates are stored in /etc/lxd/servercerts.
# An example configuration (from </usr/share/doc/packages/lxd/doc/remotes.md>)
# looks like the following:
#
# remotes:
# foo:
# addr: https://10.0.2.4:8443
# auth_type: tls
# project: default
# protocol: lxd
# public: false
# bar:
# addr: https://10.0.2.5:8443
# auth_type: tls
# project: default
# protocol: lxd
# public: false

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon Apr 12 05:19:43 UTC 2021 - Aleksa Sarai <asarai@suse.com>
- Update to LXD 4.13. The full upstream changelog is available from:
https://discuss.linuxcontainers.org/t/lxd-4-13-has-been-released/10737
boo#1184580
+ Support for instance filters in "lxc list"
+ NVIDIA MIG support for containers
+ System wide configuration in /etc/lxd
+ Project resource usage
+ Snapshot schedule aliases (cron-like @... aliases)
+ images.default_architecture for multi-architecture setups
+ New description column in "lxc {project,profile,storage} list"
+ Reworked handling of default action in network ACLs
+ "lxc stop --console"
+ More auto-generated REST-API documentation
-------------------------------------------------------------------
Mon Mar 15 16:49:41 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -26,7 +26,7 @@
%define lxd_ovmfdir %{lxd_datadir}/ovmf
Name: lxd
Version: 4.12
Version: 4.13
Release: 0
Summary: Container hypervisor based on LXC
License: Apache-2.0
@ -38,6 +38,8 @@ Source2: %{name}.keyring
Source3: %{name}-rpmlintrc
# LXD upstream doesn't use systemd, they use snapd.
Source100: %{name}.service
# LXD upstream doesn't have a sample config file.
Source101: %{name}-config.yml
# Additional runtime configuration.
Source200: %{name}.sysctl
Source201: %{name}.dnsmasq
@ -278,6 +280,10 @@ do
done
popd
# System-wide client configuration.
install -D -m0644 %{S:101} %{buildroot}/etc/lxd/config.yml
install -d -m0755 %{buildroot}/etc/lxd/servercerts
# Install man pages.
pushd man/
for man in *
@ -363,6 +369,10 @@ grep -q '^root:' /etc/subgid || \
%{_mandir}/man*/*
%{_libdir}/%{name}
%dir /etc/lxd
%config(noreplace) /etc/lxd/config.yml
%dir /etc/lxd/servercerts
%{lxd_datadir}
%{_sbindir}/rc%{name}