Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
36368228
Commit
36368228
authored
Feb 28, 2013
by
Serge Hallyn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
templates: update for openSUSE 12.3
Update template to install openSUSE 12.3 Signed-off-by:
Frederic Crozat
<
fcrozat@suse.com
>
Signed-off-by:
Serge Hallyn
<
serge.hallyn@ubuntu.com
>
parent
285ee6b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
+15
-9
lxc-opensuse.in
templates/lxc-opensuse.in
+15
-9
No files found.
templates/lxc-opensuse.in
View file @
36368228
...
...
@@ -25,7 +25,7 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
DISTRO
=
12.
2
DISTRO
=
12.
3
configure_opensuse
()
{
...
...
@@ -58,7 +58,6 @@ EOF
127.0.0.1 localhost
$hostname
EOF
# disable various services
# disable yast->bootloader in container
cat
<<
EOF
>
$rootfs
/etc/sysconfig/bootloader
LOADER_TYPE=none
...
...
@@ -81,7 +80,14 @@ EOF
ln
-s
/dev/null
$rootfs
/etc/systemd/system/proc-sys-fs-binfmt_misc.automount
ln
-s
/dev/null
$rootfs
/etc/systemd/system/console-shell.service
ln
-s
/dev/null
$rootfs
/etc/systemd/system/systemd-vconsole-setup.service
ln
-s
/lib/systemd/system/getty@.service
$rootfs
/etc/systemd/system/getty.target.wants/getty@console.service
sed
-e
's/ConditionPathExists=.*//'
/usr/lib/systemd/system/getty@.service
>
$rootfs
/etc/systemd/system/getty@.service
ln
-s
getty@.service
$rootfs
/etc/systemd/system/getty@tty1.service
ln
-s
../getty@.service
$rootfs
/etc/systemd/system/getty.target.wants/getty@console.service
ln
-s
-f
../getty@.service
$rootfs
/etc/systemd/system/getty.target.wants/getty@tty1.service
ln
-s
../getty@.service
$rootfs
/etc/systemd/system/getty.target.wants/getty@tty2.service
ln
-s
../getty@.service
$rootfs
/etc/systemd/system/getty.target.wants/getty@tty3.service
ln
-s
../getty@.service
$rootfs
/etc/systemd/system/getty.target.wants/getty@tty4.service
touch
$rootfs
/etc/sysconfig/kernel
...
...
@@ -116,12 +122,12 @@ download_opensuse()
zypper
--quiet
--root
$cache
/partial-
$arch
-packages
--non-interactive
ar http://download.opensuse.org/distribution/
$DISTRO
/repo/oss/ repo-oss
||
return
1
zypper
--quiet
--root
$cache
/partial-
$arch
-packages
--non-interactive
ar http://download.opensuse.org/update/
$DISTRO
/ update
||
return
1
zypper
--quiet
--root
$cache
/partial-
$arch
-packages
--non-interactive
--gpg-auto-import-keys
update
||
return
1
zypper
--root
$cache
/partial-
$arch
-packages
--non-interactive
in
--auto-agree-with-licenses
--download-only
zypper lxc patterns-openSUSE-base bash iputils
sed tar
||
return
1
zypper
--root
$cache
/partial-
$arch
-packages
--non-interactive
in
--auto-agree-with-licenses
--download-only
zypper lxc patterns-openSUSE-base bash iputils
sed tar
rsyslog
||
return
1
cat
>
$cache
/partial-
$arch
-packages
/opensuse.conf
<<
EOF
Preinstall: aaa_base bash coreutils diffutils
Preinstall: filesystem fillup glibc grep insserv
Preinstall: libbz2-1 libgcc
47
libncurses5 pam
Preinstall: permissions libreadline6 rpm sed tar
zlib
libselinux1
Preinstall: filesystem fillup glibc grep insserv
-compat
Preinstall: libbz2-1 libgcc
_s1
libncurses5 pam
Preinstall: permissions libreadline6 rpm sed tar
libz1
libselinux1
Preinstall: liblzma5 libcap2 libacl1 libattr1
Preinstall: libpopt0 libelf1 liblua5_1
Preinstall: libpcre1
...
...
@@ -135,8 +141,8 @@ Support: ncurses-utils
Support: iputils
Support: udev
Support: netcfg
Support: dhcpcd hwinfo insserv module-init-tools openSUSE-release openssh
Support: pwdutils rpcbind sysconfig
rsyslog
Support: dhcpcd hwinfo insserv
-compat
module-init-tools openSUSE-release openssh
Support: pwdutils rpcbind sysconfig
Ignore: rpm:suse-build-key,build-key
Ignore: systemd:systemd-presets-branding
...
...
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