Gentoo Archives: gentoo-commits

From: Erik Mackdanz <stasibear@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/
Date: Mon, 01 Jul 2019 14:25:15
Message-Id: 1561990991.6b52a723c10346855d8c8e9209b1aeea870dbcb2.stasibear@gentoo
1 commit: 6b52a723c10346855d8c8e9209b1aeea870dbcb2
2 Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 1 14:06:51 2019 +0000
4 Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 1 14:23:11 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b52a723
7
8 app-emulation/lxd: Remove old
9
10 Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org>
11 Package-Manager: Portage-2.3.67, Repoman-2.3.16
12
13 app-emulation/lxd/Manifest | 2 -
14 app-emulation/lxd/lxd-3.10.ebuild | 241 --------------------------------------
15 app-emulation/lxd/lxd-3.11.ebuild | 241 --------------------------------------
16 3 files changed, 484 deletions(-)
17
18 diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
19 index 5c445c18e2c..03b05f78456 100644
20 --- a/app-emulation/lxd/Manifest
21 +++ b/app-emulation/lxd/Manifest
22 @@ -1,3 +1 @@
23 -DIST lxd-3.10.tar.gz 27057432 BLAKE2B b5a5c3cd4f1045419c806510aab21c3bcde8c8687ede808b1b832e2a0caba0ff3af5d79367141b29e84c0bd3bcf6958d917bc813700220e238cd21933963009b SHA512 25ed7675af7b6861d754607b19485e329ae344befac06fe33f326e34030755359bea6f574c414849b85f034533fd5dccb95a326ae0ad9e44b8ea366f7ee44d04
24 -DIST lxd-3.11.tar.gz 27281796 BLAKE2B 640944cd929b69b7c6f935b7e3587e05b77ec71da8f20b988b831b837f86706b3cb3a81676f4ae456bf06594ea74e9ab44b87d22ddaa78209d4a0f6cbbba3483 SHA512 182a2fd6b69c8228760c26498d77f46c6bdda899018e1ab4470f2382202250582c66fc11f4c2d8d86598f19e3a62a1027dfe190342611c4a819a27ce6e39e78e
25 DIST lxd-3.12.tar.gz 27365315 BLAKE2B 2b371ef4e9703a7a0494ca009b3c04a3051d76ba0bc87566b90871059cce04f80c5d941d639a53762b219f658379bbffb8ed844cee4271bb756aecb2742ce1d0 SHA512 fd56ee2a2114b338cfb8b575775530b34c7dcc978c95f9bc3b0dced91cf7f01558012c357eb3f8220bc6fa6aa5ecaca67d47b300b67c0d193f11c5088ce6330e
26
27 diff --git a/app-emulation/lxd/lxd-3.10.ebuild b/app-emulation/lxd/lxd-3.10.ebuild
28 deleted file mode 100644
29 index a330cfbac4e..00000000000
30 --- a/app-emulation/lxd/lxd-3.10.ebuild
31 +++ /dev/null
32 @@ -1,241 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -DESCRIPTION="Fast, dense and secure container management"
39 -HOMEPAGE="https://linuxcontainers.org/lxd/introduction/"
40 -
41 -LICENSE="Apache-2.0 BSD BSD-2 LGPL-3 MIT MPL-2.0"
42 -SLOT="0"
43 -KEYWORDS="amd64"
44 -
45 -IUSE="+daemon +ipv6 +dnsmasq nls test tools"
46 -
47 -inherit autotools bash-completion-r1 linux-info systemd user
48 -
49 -SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz"
50 -
51 -DEPEND="
52 - dev-lang/tcl
53 - >=dev-lang/go-1.9.4
54 - dev-libs/libuv
55 - dev-libs/protobuf
56 - nls? ( sys-devel/gettext )
57 - test? (
58 - app-misc/jq
59 - net-misc/curl
60 - sys-devel/gettext
61 - )
62 -"
63 -
64 -RDEPEND="
65 - daemon? (
66 - app-arch/xz-utils
67 - >=app-emulation/lxc-2.0.7[seccomp]
68 - dev-libs/libuv
69 - dev-libs/lzo
70 - dev-util/xdelta:3
71 - dnsmasq? (
72 - net-dns/dnsmasq[dhcp,ipv6?]
73 - )
74 - net-firewall/ebtables
75 - net-firewall/iptables[ipv6?]
76 - net-libs/libnfnetlink
77 - net-libs/libnsl:0=
78 - net-misc/rsync[xattr]
79 - sys-apps/iproute2[ipv6?]
80 - sys-fs/fuse
81 - sys-fs/lxcfs
82 - sys-fs/squashfs-tools
83 - virtual/acl
84 - )
85 -"
86 -
87 -CONFIG_CHECK="
88 - ~BRIDGE
89 - ~DUMMY
90 - ~IP6_NF_NAT
91 - ~IP6_NF_TARGET_MASQUERADE
92 - ~IPV6
93 - ~IP_NF_NAT
94 - ~IP_NF_TARGET_MASQUERADE
95 - ~MACVLAN
96 - ~NETFILTER_XT_MATCH_COMMENT
97 - ~NET_IPGRE
98 - ~NET_IPGRE_DEMUX
99 - ~NET_IPIP
100 - ~NF_NAT_MASQUERADE_IPV4
101 - ~NF_NAT_MASQUERADE_IPV6
102 - ~VXLAN
103 -"
104 -
105 -ERROR_BRIDGE="BRIDGE: needed for network commands"
106 -ERROR_DUMMY="DUMMY: needed for network commands"
107 -ERROR_IP6_NF_NAT="IP6_NF_NAT: needed for network commands"
108 -ERROR_IP6_NF_TARGET_MASQUERADE="IP6_NF_TARGET_MASQUERADE: needed for network commands"
109 -ERROR_IPV6="IPV6: needed for network commands"
110 -ERROR_IP_NF_NAT="IP_NF_NAT: needed for network commands"
111 -ERROR_IP_NF_TARGET_MASQUERADE="IP_NF_TARGET_MASQUERADE: needed for network commands"
112 -ERROR_MACVLAN="MACVLAN: needed for network commands"
113 -ERROR_NETFILTER_XT_MATCH_COMMENT="NETFILTER_XT_MATCH_COMMENT: needed for network commands"
114 -ERROR_NET_IPGRE="NET_IPGRE: needed for network commands"
115 -ERROR_NET_IPGRE_DEMUX="NET_IPGRE_DEMUX: needed for network commands"
116 -ERROR_NET_IPIP="NET_IPIP: needed for network commands"
117 -ERROR_NF_NAT_MASQUERADE_IPV4="NF_NAT_MASQUERADE_IPV4: needed for network commands"
118 -ERROR_NF_NAT_MASQUERADE_IPV6="NF_NAT_MASQUERADE_IPV6: needed for network commands"
119 -ERROR_VXLAN="VXLAN: needed for network commands"
120 -
121 -EGO_PN="github.com/lxc/lxd"
122 -
123 -src_prepare() {
124 - eapply_user
125 - eapply "${FILESDIR}/de-translation-newline-1.patch"
126 - eapply "${FILESDIR}/ptbr-translation-newline.patch"
127 -
128 - cd "${S}/dist/dqlite" || die "Can't cd to dqlite dir"
129 - eautoreconf
130 -}
131 -
132 -src_configure() {
133 - export GOPATH="${S}/dist"
134 - cd "${GOPATH}/sqlite" || die "Can't cd to sqlite dir"
135 - econf --enable-replication --disable-amalgamation --disable-tcl --libdir="${EPREFIX}/usr/lib/lxd"
136 -
137 - cd "${GOPATH}/dqlite" || die "Can't cd to dqlite dir"
138 - PKG_CONFIG_PATH="${GOPATH}/sqlite/" econf --libdir=${EPREFIX}/usr/lib/lxd
139 -}
140 -
141 -src_compile() {
142 - export GOPATH="${S}/dist"
143 -
144 - cd "${GOPATH}/sqlite" || die "Can't cd to sqlite dir"
145 - emake
146 -
147 - cd "${GOPATH}/dqlite" || die "Can't cd to dqlite dir"
148 - emake CFLAGS="-I${GOPATH}/sqlite" LDFLAGS="-L${GOPATH}/sqlite"
149 -
150 - # We don't use the Makefile here because it builds targets with the
151 - # assumption that `pwd` is in a deep gopath namespace, which we're not.
152 - # It's simpler to manually call "go install" than patching the Makefile.
153 - cd "${S}"
154 - go install -v -x ${EGO_PN}/lxc || die "Failed to build the client"
155 -
156 - if use daemon; then
157 -
158 - # LXD depends on a patched, bundled sqlite with replication
159 - # capabilities.
160 - export CGO_CFLAGS="-I${GOPATH}/sqlite/ -I${GOPATH}/dqlite/include/"
161 - export CGO_LDFLAGS="-L${GOPATH}/sqlite/.libs/ -L${GOPATH}/dqlite/.libs/ -Wl,-rpath,${EPREFIX}/usr/lib/lxd"
162 - export LD_LIBRARY_PATH="${GOPATH}/sqlite/.libs/:${GOPATH}/dqlite/.libs/"
163 -
164 - go install -v -x -tags libsqlite3 ${EGO_PN}/lxd || die "Failed to build the daemon"
165 - fi
166 -
167 - if use tools; then
168 - go install -v -x ${EGO_PN}/fuidshift || die "Failed to build fuidshift"
169 - go install -v -x ${EGO_PN}/lxc-to-lxd || die "Failed to build lxc-to-lxd"
170 - go install -v -x ${EGO_PN}/lxd-benchmark || die "Failed to build lxd-benchmark"
171 - go install -v -x ${EGO_PN}/lxd-p2c || die "Failed to build lxd-p2c"
172 - fi
173 -
174 - use nls && emake build-mo
175 -}
176 -
177 -src_test() {
178 - if use daemon; then
179 - export GOPATH="${S}/dist"
180 - # This is mostly a copy/paste from the Makefile's "check" rule, but
181 - # patching the Makefile to work in a non "fully-qualified" go namespace
182 - # was more complicated than this modest copy/paste.
183 - # Also: sorry, for now a network connection is needed to run tests.
184 - # Will properly bundle test dependencies later.
185 - go get -v -x github.com/rogpeppe/godeps
186 - go get -v -x github.com/remyoudompheng/go-misc/deadcode
187 - go get -v -x github.com/golang/lint/golint
188 - go test -v ${EGO_PN}/lxd
189 - else
190 - einfo "No tests to run for client-only builds"
191 - fi
192 -}
193 -
194 -src_install() {
195 - local bindir="dist/bin"
196 - dobin ${bindir}/lxc
197 - if use daemon; then
198 -
199 - export GOPATH="${S}/dist"
200 - cd "${GOPATH}/sqlite" || die "Can't cd to sqlite dir"
201 - emake DESTDIR="${D}" install
202 -
203 - cd "${GOPATH}/dqlite" || die "Can't cd to dqlite dir"
204 - emake DESTDIR="${D}" install
205 -
206 - # Must only install libs
207 - rm "${D}/usr/bin/sqlite3" || die "Can't remove custom sqlite3 binary"
208 - rm -r "${D}/usr/include" || die "Can't remove include directory"
209 -
210 - cd "${S}" || die "Can't cd to \${S}"
211 - dosbin ${bindir}/lxd
212 - fi
213 -
214 - if use tools; then
215 - dobin ${bindir}/fuidshift
216 - dobin ${bindir}/lxc-to-lxd
217 - dobin ${bindir}/lxd-benchmark
218 - dobin ${bindir}/lxd-p2c
219 - fi
220 -
221 - if use nls; then
222 - domo po/*.mo
223 - fi
224 -
225 - if use daemon; then
226 - newinitd "${FILESDIR}"/${PN}.initd lxd
227 - newconfd "${FILESDIR}"/${PN}.confd lxd
228 -
229 - systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
230 - fi
231 -
232 - newbashcomp scripts/bash/lxd-client lxc
233 -
234 - dodoc AUTHORS doc/*
235 -}
236 -
237 -pkg_postinst() {
238 - elog
239 - elog "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
240 - elog "including a Quick Start."
241 -
242 - # The messaging below only applies to daemon installs
243 - use daemon || return 0
244 -
245 - # The control socket will be owned by (and writeable by) this group.
246 - enewgroup lxd
247 -
248 - # Ubuntu also defines an lxd user but it appears unused (the daemon
249 - # must run as root)
250 -
251 - elog
252 - elog "Though not strictly required, some features are enabled at run-time"
253 - elog "when the relevant helper programs are detected:"
254 - elog "- sys-apps/apparmor"
255 - elog "- sys-fs/btrfs-progs"
256 - elog "- sys-fs/lvm2"
257 - elog "- sys-fs/zfs"
258 - elog "- sys-process/criu"
259 - elog
260 - elog "Since these features can't be disabled at build-time they are"
261 - elog "not USE-conditional."
262 - elog
263 - elog "Be sure to add your local user to the lxd group."
264 - elog
265 - elog "Networks with bridge.mode=fan are unsupported due to requiring"
266 - elog "a patched kernel and iproute2."
267 -}
268 -
269 -# TODO:
270 -# - man page, I don't see cobra generating it
271 -# - maybe implement LXD_CLUSTER_UPDATE per
272 -# https://discuss.linuxcontainers.org/t/lxd-3-5-has-been-released/2656
273 -# EM I'm not convinced it's a good design.
274
275 diff --git a/app-emulation/lxd/lxd-3.11.ebuild b/app-emulation/lxd/lxd-3.11.ebuild
276 deleted file mode 100644
277 index a330cfbac4e..00000000000
278 --- a/app-emulation/lxd/lxd-3.11.ebuild
279 +++ /dev/null
280 @@ -1,241 +0,0 @@
281 -# Copyright 1999-2019 Gentoo Authors
282 -# Distributed under the terms of the GNU General Public License v2
283 -
284 -EAPI=7
285 -
286 -DESCRIPTION="Fast, dense and secure container management"
287 -HOMEPAGE="https://linuxcontainers.org/lxd/introduction/"
288 -
289 -LICENSE="Apache-2.0 BSD BSD-2 LGPL-3 MIT MPL-2.0"
290 -SLOT="0"
291 -KEYWORDS="amd64"
292 -
293 -IUSE="+daemon +ipv6 +dnsmasq nls test tools"
294 -
295 -inherit autotools bash-completion-r1 linux-info systemd user
296 -
297 -SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz"
298 -
299 -DEPEND="
300 - dev-lang/tcl
301 - >=dev-lang/go-1.9.4
302 - dev-libs/libuv
303 - dev-libs/protobuf
304 - nls? ( sys-devel/gettext )
305 - test? (
306 - app-misc/jq
307 - net-misc/curl
308 - sys-devel/gettext
309 - )
310 -"
311 -
312 -RDEPEND="
313 - daemon? (
314 - app-arch/xz-utils
315 - >=app-emulation/lxc-2.0.7[seccomp]
316 - dev-libs/libuv
317 - dev-libs/lzo
318 - dev-util/xdelta:3
319 - dnsmasq? (
320 - net-dns/dnsmasq[dhcp,ipv6?]
321 - )
322 - net-firewall/ebtables
323 - net-firewall/iptables[ipv6?]
324 - net-libs/libnfnetlink
325 - net-libs/libnsl:0=
326 - net-misc/rsync[xattr]
327 - sys-apps/iproute2[ipv6?]
328 - sys-fs/fuse
329 - sys-fs/lxcfs
330 - sys-fs/squashfs-tools
331 - virtual/acl
332 - )
333 -"
334 -
335 -CONFIG_CHECK="
336 - ~BRIDGE
337 - ~DUMMY
338 - ~IP6_NF_NAT
339 - ~IP6_NF_TARGET_MASQUERADE
340 - ~IPV6
341 - ~IP_NF_NAT
342 - ~IP_NF_TARGET_MASQUERADE
343 - ~MACVLAN
344 - ~NETFILTER_XT_MATCH_COMMENT
345 - ~NET_IPGRE
346 - ~NET_IPGRE_DEMUX
347 - ~NET_IPIP
348 - ~NF_NAT_MASQUERADE_IPV4
349 - ~NF_NAT_MASQUERADE_IPV6
350 - ~VXLAN
351 -"
352 -
353 -ERROR_BRIDGE="BRIDGE: needed for network commands"
354 -ERROR_DUMMY="DUMMY: needed for network commands"
355 -ERROR_IP6_NF_NAT="IP6_NF_NAT: needed for network commands"
356 -ERROR_IP6_NF_TARGET_MASQUERADE="IP6_NF_TARGET_MASQUERADE: needed for network commands"
357 -ERROR_IPV6="IPV6: needed for network commands"
358 -ERROR_IP_NF_NAT="IP_NF_NAT: needed for network commands"
359 -ERROR_IP_NF_TARGET_MASQUERADE="IP_NF_TARGET_MASQUERADE: needed for network commands"
360 -ERROR_MACVLAN="MACVLAN: needed for network commands"
361 -ERROR_NETFILTER_XT_MATCH_COMMENT="NETFILTER_XT_MATCH_COMMENT: needed for network commands"
362 -ERROR_NET_IPGRE="NET_IPGRE: needed for network commands"
363 -ERROR_NET_IPGRE_DEMUX="NET_IPGRE_DEMUX: needed for network commands"
364 -ERROR_NET_IPIP="NET_IPIP: needed for network commands"
365 -ERROR_NF_NAT_MASQUERADE_IPV4="NF_NAT_MASQUERADE_IPV4: needed for network commands"
366 -ERROR_NF_NAT_MASQUERADE_IPV6="NF_NAT_MASQUERADE_IPV6: needed for network commands"
367 -ERROR_VXLAN="VXLAN: needed for network commands"
368 -
369 -EGO_PN="github.com/lxc/lxd"
370 -
371 -src_prepare() {
372 - eapply_user
373 - eapply "${FILESDIR}/de-translation-newline-1.patch"
374 - eapply "${FILESDIR}/ptbr-translation-newline.patch"
375 -
376 - cd "${S}/dist/dqlite" || die "Can't cd to dqlite dir"
377 - eautoreconf
378 -}
379 -
380 -src_configure() {
381 - export GOPATH="${S}/dist"
382 - cd "${GOPATH}/sqlite" || die "Can't cd to sqlite dir"
383 - econf --enable-replication --disable-amalgamation --disable-tcl --libdir="${EPREFIX}/usr/lib/lxd"
384 -
385 - cd "${GOPATH}/dqlite" || die "Can't cd to dqlite dir"
386 - PKG_CONFIG_PATH="${GOPATH}/sqlite/" econf --libdir=${EPREFIX}/usr/lib/lxd
387 -}
388 -
389 -src_compile() {
390 - export GOPATH="${S}/dist"
391 -
392 - cd "${GOPATH}/sqlite" || die "Can't cd to sqlite dir"
393 - emake
394 -
395 - cd "${GOPATH}/dqlite" || die "Can't cd to dqlite dir"
396 - emake CFLAGS="-I${GOPATH}/sqlite" LDFLAGS="-L${GOPATH}/sqlite"
397 -
398 - # We don't use the Makefile here because it builds targets with the
399 - # assumption that `pwd` is in a deep gopath namespace, which we're not.
400 - # It's simpler to manually call "go install" than patching the Makefile.
401 - cd "${S}"
402 - go install -v -x ${EGO_PN}/lxc || die "Failed to build the client"
403 -
404 - if use daemon; then
405 -
406 - # LXD depends on a patched, bundled sqlite with replication
407 - # capabilities.
408 - export CGO_CFLAGS="-I${GOPATH}/sqlite/ -I${GOPATH}/dqlite/include/"
409 - export CGO_LDFLAGS="-L${GOPATH}/sqlite/.libs/ -L${GOPATH}/dqlite/.libs/ -Wl,-rpath,${EPREFIX}/usr/lib/lxd"
410 - export LD_LIBRARY_PATH="${GOPATH}/sqlite/.libs/:${GOPATH}/dqlite/.libs/"
411 -
412 - go install -v -x -tags libsqlite3 ${EGO_PN}/lxd || die "Failed to build the daemon"
413 - fi
414 -
415 - if use tools; then
416 - go install -v -x ${EGO_PN}/fuidshift || die "Failed to build fuidshift"
417 - go install -v -x ${EGO_PN}/lxc-to-lxd || die "Failed to build lxc-to-lxd"
418 - go install -v -x ${EGO_PN}/lxd-benchmark || die "Failed to build lxd-benchmark"
419 - go install -v -x ${EGO_PN}/lxd-p2c || die "Failed to build lxd-p2c"
420 - fi
421 -
422 - use nls && emake build-mo
423 -}
424 -
425 -src_test() {
426 - if use daemon; then
427 - export GOPATH="${S}/dist"
428 - # This is mostly a copy/paste from the Makefile's "check" rule, but
429 - # patching the Makefile to work in a non "fully-qualified" go namespace
430 - # was more complicated than this modest copy/paste.
431 - # Also: sorry, for now a network connection is needed to run tests.
432 - # Will properly bundle test dependencies later.
433 - go get -v -x github.com/rogpeppe/godeps
434 - go get -v -x github.com/remyoudompheng/go-misc/deadcode
435 - go get -v -x github.com/golang/lint/golint
436 - go test -v ${EGO_PN}/lxd
437 - else
438 - einfo "No tests to run for client-only builds"
439 - fi
440 -}
441 -
442 -src_install() {
443 - local bindir="dist/bin"
444 - dobin ${bindir}/lxc
445 - if use daemon; then
446 -
447 - export GOPATH="${S}/dist"
448 - cd "${GOPATH}/sqlite" || die "Can't cd to sqlite dir"
449 - emake DESTDIR="${D}" install
450 -
451 - cd "${GOPATH}/dqlite" || die "Can't cd to dqlite dir"
452 - emake DESTDIR="${D}" install
453 -
454 - # Must only install libs
455 - rm "${D}/usr/bin/sqlite3" || die "Can't remove custom sqlite3 binary"
456 - rm -r "${D}/usr/include" || die "Can't remove include directory"
457 -
458 - cd "${S}" || die "Can't cd to \${S}"
459 - dosbin ${bindir}/lxd
460 - fi
461 -
462 - if use tools; then
463 - dobin ${bindir}/fuidshift
464 - dobin ${bindir}/lxc-to-lxd
465 - dobin ${bindir}/lxd-benchmark
466 - dobin ${bindir}/lxd-p2c
467 - fi
468 -
469 - if use nls; then
470 - domo po/*.mo
471 - fi
472 -
473 - if use daemon; then
474 - newinitd "${FILESDIR}"/${PN}.initd lxd
475 - newconfd "${FILESDIR}"/${PN}.confd lxd
476 -
477 - systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
478 - fi
479 -
480 - newbashcomp scripts/bash/lxd-client lxc
481 -
482 - dodoc AUTHORS doc/*
483 -}
484 -
485 -pkg_postinst() {
486 - elog
487 - elog "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
488 - elog "including a Quick Start."
489 -
490 - # The messaging below only applies to daemon installs
491 - use daemon || return 0
492 -
493 - # The control socket will be owned by (and writeable by) this group.
494 - enewgroup lxd
495 -
496 - # Ubuntu also defines an lxd user but it appears unused (the daemon
497 - # must run as root)
498 -
499 - elog
500 - elog "Though not strictly required, some features are enabled at run-time"
501 - elog "when the relevant helper programs are detected:"
502 - elog "- sys-apps/apparmor"
503 - elog "- sys-fs/btrfs-progs"
504 - elog "- sys-fs/lvm2"
505 - elog "- sys-fs/zfs"
506 - elog "- sys-process/criu"
507 - elog
508 - elog "Since these features can't be disabled at build-time they are"
509 - elog "not USE-conditional."
510 - elog
511 - elog "Be sure to add your local user to the lxd group."
512 - elog
513 - elog "Networks with bridge.mode=fan are unsupported due to requiring"
514 - elog "a patched kernel and iproute2."
515 -}
516 -
517 -# TODO:
518 -# - man page, I don't see cobra generating it
519 -# - maybe implement LXD_CLUSTER_UPDATE per
520 -# https://discuss.linuxcontainers.org/t/lxd-3-5-has-been-released/2656
521 -# EM I'm not convinced it's a good design.