diff options
author | jhinman1 <john.hinman@intel.com> | 2017-08-22 16:27:05 -0400 |
---|---|---|
committer | jhinman1 <john.hinman@intel.com> | 2017-08-22 16:27:05 -0400 |
commit | 55e3a45da905d5c23079d693d8dd0f7a5fd5c553 (patch) | |
tree | f34a49b03e71d2e4195ba691d5857c5a8d08fd57 | |
parent | 807fad268c90649f2901c5f5c4cdeb788a0308e0 (diff) |
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.
Change-Id: Icf3ff3659f63222cc3a5e8f1f93fe183a2b86f45
Signed-off-by: jhinman1 <john.hinman@intel.com>
-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 } |