Skip to content

Commit

Permalink
fix update rule for fedora #61; dealing with VBaxGuestAddition #51
Browse files Browse the repository at this point in the history
Signed-off-by: Gratien D'haese <gratien.dhaese@gmail.com>
  • Loading branch information
gdha committed Jul 16, 2018
1 parent 49015a8 commit e571cfc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@
- python2-dlrn
- dnf-utils
- dnf-yum
- make
- gcc
- perl
- kernel-devel
- kernel-headers
ignore_errors: True
7 changes: 7 additions & 0 deletions centos7/ansible/common/roles/rear-test/tasks/readme
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
To install VBoxGuestAdditions you also need:
- gcc
- perl
- make
- kernel-devel
- kernel-headers
------------------------------------------------------------------------------------------------------------------------
To find out on which type we are running start the vagrant vm and login and run:
$ ansible localhost -m setup | grep -e family -e ansible_distribution
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
Expand Down
2 changes: 1 addition & 1 deletion rear-automated-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ if [[ -z "$release_nr" ]] ; then
ssh -i ../insecure_keys/vagrant.private root@$client "timeout 3m yum --disableplugin=fastestmirror -y update rear" | tee -a $LOGFILE
;;
(fedora*)
ssh -i ../insecure_keys/vagrant.private root@$client "timeout 3m dnf -disableplugin=fastestmirror -y update rear" | tee -a $LOGFILE
ssh -i ../insecure_keys/vagrant.private root@$client "timeout 3m dnf --disableplugin=fastestmirror -y update rear" | tee -a $LOGFILE
;;
(sles*)
ssh -i ../insecure_keys/vagrant.private root@$client "timeout 3m rpm -e rear" | tee -a $LOGFILE
Expand Down

0 comments on commit e571cfc

Please sign in to comment.