bugfix:修改tsg-diagose-oneshot安装以后没有权限的bug
This commit is contained in:
@@ -63,6 +63,7 @@ feature_branch_build:
|
||||
TESTING_VERSION_BUILD: 1
|
||||
extends: .build_rpm
|
||||
script:
|
||||
- ls -halt ./scripts
|
||||
- ./ci/travis.sh
|
||||
dependencies:
|
||||
- images_build
|
||||
|
||||
@@ -28,8 +28,8 @@ install(FILES service/tsg-diagnose-periodical.service DESTINATION /usr/lib/syste
|
||||
install(FILES service/tsg-diagnose.conf DESTINATION /usr/lib/tmpfiles.d)
|
||||
install(FILES images_build/server_dns/dnsmasq.conf DESTINATION /opt/tsg/tsg-diagnose/etc/)
|
||||
install(DIRECTORY images/ DESTINATION ./images)
|
||||
install(FILES scripts/tsg-diagnose-periodical DESTINATION ./scripts)
|
||||
install(FILES scripts/tsg-diagnose-oneshot DESTINATION ./scripts)
|
||||
install(FILES scripts/tsg-diagnose-periodical DESTINATION ./scripts/)
|
||||
install(FILES scripts/tsg-diagnose-oneshot DESTINATION ./scripts/)
|
||||
install(FILES scripts/tsg-diagnose.sh DESTINATION /etc/profile.d/)
|
||||
install(DIRECTORY etc/certs_import/ DESTINATION ./etc/.certs_import)
|
||||
|
||||
|
||||
@@ -7,3 +7,7 @@ fi
|
||||
docker load < /opt/tsg/tsg-diagnose/images/server_web.tar
|
||||
docker load < /opt/tsg/tsg-diagnose/images/client.tar
|
||||
docker load < /opt/tsg/tsg-diagnose/images/server_dns.tar
|
||||
chmod 0755 /opt/tsg/tsg-diagnose/etc/.certs_import/certs/tool
|
||||
chmod 0755 /opt/tsg/tsg-diagnose/scripts/tsg-diagnose-oneshot
|
||||
chmod 0755 /opt/tsg/tsg-diagnose/scripts/tsg-diagnose-periodical
|
||||
chmod 0755 /etc/profile.d/tsg-diagnose.sh
|
||||
|
||||
Reference in New Issue
Block a user