Alanny Lopez | bb309af | 2017-08-18 15:14:49 -0500 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | |
| 3 | mkdir /root/xcat2 |
| 4 | cd /root/xcat2 |
| 5 | wget https://downloads.sourceforge.net/project/xcat/xcat-dep/2.x_Ubuntu/xcat-dep-ubuntu-snap20150611.tar.bz |
| 6 | wget https://github.com/xcat2/xcat-core/releases/download/2.10_release/xcat-core-2.10-ubuntu.tar.bz2 |
| 7 | ls |
| 8 | tar jxvf xcat-dep-ubuntu-snap20150611.tar.bz |
| 9 | tar jxvf xcat-core-2.10-ubuntu.tar.bz2 |
| 10 | ./xcat-dep/mklocalrepo.sh |
| 11 | ./xcat-core/mklocalrepo.sh |
| 12 | apt-get update && apt-get install -y --force-yes xcat |
| 13 | rm /root/xcat2/*.tar* |
| 14 | apt-get autoremove |