Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:SUSE:Edge:Metal3:Ironic:2023.2
ironic-23011
runlogwatch.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File runlogwatch.sh of Package ironic-23011
#!/usr/bin/bash # Ramdisk logs path LOG_DIRS=("/shared/log/ironic/deploy" "/shared/log/ironic-inspector/ramdisk") while :; do for LOG_DIR in "${LOG_DIRS[@]}"; do if ! ls "${LOG_DIR}"/*.tar.gz 1> /dev/null 2>&1; then continue fi for fn in "${LOG_DIR}"/*.tar.gz; do echo "************ Contents of $fn ramdisk log file bundle **************" tar -xOzvvf "$fn" | sed -e "s/^/$(basename "$fn"): /" rm -f "$fn" done done sleep 5 done
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor