File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
require "vagrant"
2
2
3
3
module VagrantPlugins
4
- module PodmanProvisioner
4
+ module ContainerProvisioner
5
5
class Plugin < Vagrant . plugin ( "2" )
6
6
name "container"
7
7
description <<-DESC
Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ def self.podman_install(machine)
9
9
case machine . guest . capability ( "flavor" )
10
10
when :rhel_7
11
11
machine . communicate . tap do |comm |
12
- comm . sudo ( "curl -sSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/CentOS_7/devel:kubic:libcontainers:stable.repo -o /etc/yum.repos.d/ " )
12
+ comm . sudo ( "curl curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/ kubic:/ libcontainers:/ stable/CentOS_7/devel:kubic:libcontainers:stable.repo" )
13
13
comm . sudo ( "yum -q -y install podman" )
14
14
end
15
15
when :rhel_8
16
16
machine . communicate . tap do |comm |
17
17
comm . sudo ( "dnf -y module disable container-tools" )
18
18
comm . sudo ( "dnf -y install 'dnf-command(copr)'" )
19
19
comm . sudo ( "dnf -y copr enable rhcontainerbot/container-selinux" )
20
- comm . sudo ( "curl -sSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/CentOS_8/devel:kubic:libcontainers:stable.repo -o /etc/yum.repos.d/ " )
20
+ comm . sudo ( "curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/ kubic:/ libcontainers:/ stable/CentOS_8/devel:kubic:libcontainers:stable.repo" )
21
21
comm . sudo ( "dnf -y install podman" )
22
22
end
23
23
else
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module VagrantPlugins
4
4
module PodmanProvisioner
5
5
class Client < VagrantPlugins ::ContainerProvisioner ::Client
6
6
def initialize ( machine )
7
- super ( machine , "docker " )
7
+ super ( machine , "podman " )
8
8
@container_command = "podman"
9
9
end
10
10
end
You can’t perform that action at this time.
0 commit comments