From b1063e5b121e2342659125534b08fb1bd49f58e8 Mon Sep 17 00:00:00 2001 From: nabbott2008 Date: Sat, 12 Feb 2022 14:28:12 +0000 Subject: [PATCH] no space left on device (fix regression) --- Vagrantfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Vagrantfile b/Vagrantfile index c996dbb..6e5dc07 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -24,6 +24,7 @@ config.vm.define "repo" do |repo| end repo.vm.provision :shell, :inline => "pvs | grep '/dev/sdb' && echo 'The disk was already expanded!' || (pvcreate /dev/sdb; vgextend rhel_rhel8 /dev/sdb; lvextend -l +100%FREE /dev/rhel_rhel8/root; xfs_growfs /dev/rhel_rhel8/root)" + repo.vm.provision :shell, :inline => "sudo rm -rf /EMPTY", run: "always" repo.vm.provision :shell, :inline => "sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config; sudo systemctl restart sshd;", run: "always" repo.vm.provision :shell, :inline => "yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -y; sudo yum install -y sshpass python3-pip python3-devel httpd sshpass vsftpd createrepo", run: "always" repo.vm.provision :shell, :inline => " python3 -m pip install -U pip ; python3 -m pip install pexpect; python3 -m pip install ansible", run: "always"