diff options
author | Tim Rozet <trozet@redhat.com> | 2017-08-24 02:04:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-24 02:04:46 +0000 |
commit | 974e251a7c6461805443e35f78e21a8bfe88a67b (patch) | |
tree | ddb974dc87da2513da45a029431cf2bdb7ad16a8 /build/barometer-install.sh | |
parent | c6f04a5dee991a131a49c2fde9c5990fe2edac4e (diff) | |
parent | 55e3a45da905d5c23079d693d8dd0f7a5fd5c553 (diff) |
Merge "Change destination of snmp mibs files from /usr/share/mibs/ietf to /usr/share/snmp/mibs, and create symbolic link from ietf to snmp/mibs."
Diffstat (limited to 'build/barometer-install.sh')
-rwxr-xr-x | build/barometer-install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/barometer-install.sh b/build/barometer-install.sh index a6b3f911..de47baff 100755 --- a/build/barometer-install.sh +++ b/build/barometer-install.sh @@ -142,9 +142,9 @@ function barometer_pkgs { --run-command "cd /etc/puppet/modules/ && mkdir barometer && \ tar xzf puppet-barometer.tar.gz -C barometer" \ --run-command 'mkdir /usr/share/mibs/' \ - --run-command 'mkdir /usr/share/mibs/ietf' \ - --upload ${BUILD_DIR}/mibs.tar.gz:/usr/share/mibs/ietf/ \ - --run-command 'tar xfz /usr/share/mibs/ietf/mibs.tar.gz -C /usr/share/mibs/ietf' \ + --upload ${BUILD_DIR}/mibs.tar.gz:/usr/share/snmp/mibs/ \ + --run-command 'tar xfz /usr/share/snmp/mibs/mibs.tar.gz -C /usr/share/snmp/mibs/' \ + --run-command 'ln -s /usr/share/snmp/mibs/ /usr/share/mibs/ietf' \ --run-command 'mkdir -p /etc/collectd/collectd.conf.d' \ -a $OVERCLOUD_IMAGE } |