Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
20b0b23f
Commit
20b0b23f
authored
Aug 25, 2016
by
Denis Pynkin
Committed by
Michael Shigorin
Dec 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regular.mk, lxc, lxd: updated regular-server-lxd
Use lxd-bridge for networking.
parent
b2f87027
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
12 deletions
+9
-12
regular.mk
conf.d/regular.mk
+2
-2
config.mk
features.in/lxc/config.mk
+1
-0
30-lxd
features.in/lxc/stage2/image-scripts.d/30-lxd
+3
-10
lxd
pkg.in/lists/lxd
+3
-0
No files found.
conf.d/regular.mk
View file @
20b0b23f
...
...
@@ -291,13 +291,13 @@ distro/regular-server-samba4: distro/.regular-server-managed
@$(call add,DEFAULT_SERVICES_DISABLE,smbd nmbd winbind)
distro/regular-server-lxd: distro/.regular-bare \
+efi
+power \
use/isohybrid
+power \
use/live/base use/live/rw use/live/repo/online use/live/textinstall \
use/lxc/lxd use/tty/S0 \
use/init/systemd/multiuser
@$(call set,KFLAVOURS,un-def)
@$(call add,DEFAULT_SERVICES_ENABLE,sshd)
@$(call add,DEFAULT_SERVICES_ENABLE,lxd
lxc-net
lxcfs cgmanager)
@$(call add,DEFAULT_SERVICES_ENABLE,lxd
-startup lxd-bridge
lxcfs cgmanager)
@$(call add,DEFAULT_SERVICES_ENABLE,getty@tty1 getty@ttyS0)
@$(call add,DEFAULT_SERVICES_ENABLE,livecd-net-eth)
...
...
features.in/lxc/config.mk
View file @
20b0b23f
...
...
@@ -7,5 +7,6 @@ use/lxc/lxd: use/lxc
@$(call add,GROUPS,netadmin lxd)
@$(call add,LIVE_LISTS,lxd)
@$(call add,LIVE_LISTS,openssh)
@$(call add,LIVE_PACKAGES,su)
@$(call add,LIVE_PACKAGES,livecd-net-eth)
@$(call add,LIVE_PACKAGES,udev-rule-generator-net)
features.in/lxc/stage2/image-scripts.d/30-lxd
View file @
20b0b23f
...
...
@@ -6,24 +6,17 @@ echo LXD configuration
usermod
-v
1000000-1065535
-w
1000000-1065535 root
# Configuration of LXD
# By defult bridge provided by lxc-net service is used
# but here we are ready to start own bridge
cat
<<
E_O_F
>/etc/sysconfig/lxd
# FORCE_IMAGE_SYNC=true
# lxdbr0 defaults to only setting up the standard IPv6 link-local network
# to enable routable IPv4 and/or IPv6, please edit /etc/sysconfig/lxd
cat
<<
E_O_F
>/etc/sysconfig/lxd-bridge
# The values below are defaults
USE_LXD_BRIDGE="true"
LXD_BRIDGE="lxdbr0"
LXD_CONFILE="/etc/lxd/dnsmasq.conf"
#
LXD_DOMAIN="lxd"
LXD_DOMAIN="lxd"
# IPv4
LXD_IPV4_ADDR="192.168.202.1"
LXD_IPV4_NETMASK="255.255.255.0"
LXD_IPV4_NETWORK="192.168.202.0"
LXD_IPV4_NETWORK="192.168.202.0
/24
"
LXD_IPV4_DHCP_RANGE="192.168.202.100,192.168.202.199"
LXD_IPV4_DHCP_MAX="100"
LXD_IPV4_NAT="true"
...
...
pkg.in/lists/lxd
View file @
20b0b23f
...
...
@@ -4,3 +4,6 @@ lxc
cgmanager
lxcfs
lxd
# For storage creation
python3
Write
Preview
Markdown
is supported
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