Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
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
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
Jacklull
k3s
Commits
bac8cf45
Commit
bac8cf45
authored
May 09, 2022
by
Brad Davidson
Committed by
Brad Davidson
May 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add apparmor-parser to OpenSUSE/SLE Micro test VMs
Signed-off-by:
Brad Davidson
<
brad.davidson@rancher.com
>
parent
e391bf48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Vagrantfile
tests/e2e/validatecluster/Vagrantfile
+2
-2
Vagrantfile
tests/snapshotter/btrfs/opensuse-leap/Vagrantfile
+1
-1
No files found.
tests/e2e/validatecluster/Vagrantfile
View file @
bac8cf45
...
@@ -143,10 +143,10 @@ def dockerInstall(vm)
...
@@ -143,10 +143,10 @@ def dockerInstall(vm)
vm
.
provision
"shell"
,
inline:
"apt install -y docker.io"
vm
.
provision
"shell"
,
inline:
"apt install -y docker.io"
end
end
if
vm
.
box
.
include?
(
"Leap"
)
if
vm
.
box
.
include?
(
"Leap"
)
vm
.
provision
"shell"
,
inline:
"zypper install -y docker"
vm
.
provision
"shell"
,
inline:
"zypper install -y docker
apparmor-parser
"
end
end
if
vm
.
box
.
include?
(
"microos"
)
if
vm
.
box
.
include?
(
"microos"
)
vm
.
provision
"shell"
,
inline:
"transactional-update pkg install -y docker"
vm
.
provision
"shell"
,
inline:
"transactional-update pkg install -y docker
apparmor-parser
"
vm
.
provision
'docker-reload'
,
type:
'reload'
,
run:
'once'
vm
.
provision
'docker-reload'
,
type:
'reload'
,
run:
'once'
vm
.
provision
"shell"
,
inline:
"systemctl enable --now docker"
vm
.
provision
"shell"
,
inline:
"systemctl enable --now docker"
end
end
...
...
tests/snapshotter/btrfs/opensuse-leap/Vagrantfile
View file @
bac8cf45
...
@@ -19,7 +19,7 @@ Vagrant.configure("2") do |config|
...
@@ -19,7 +19,7 @@ Vagrant.configure("2") do |config|
sh
.
inline
=
<<~
EOF
sh
.
inline
=
<<~
EOF
#!/usr/bin/env bash
#!/usr/bin/env bash
set -eu -o pipefail
set -eu -o pipefail
zypper install -y btrfsprogs hostname
zypper install -y
apparmor-parser
btrfsprogs hostname
mkdir -p /var/lib/rancher/k3s /etc/rancher/k3s /usr/local/bin
mkdir -p /var/lib/rancher/k3s /etc/rancher/k3s /usr/local/bin
if ! mountpoint -q /var/lib/rancher/k3s; then
if ! mountpoint -q /var/lib/rancher/k3s; then
: ${BTRFS_DEV:=
#{
ENV
[
'BTRFS_DEV'
]
}
}
: ${BTRFS_DEV:=
#{
ENV
[
'BTRFS_DEV'
]
}
}
...
...
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