Skip to content

Commit 98518d4

Browse files
added logging to nfs-bootstrap
1 parent c147917 commit 98518d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/examples/storage/nfs/userdata/nfs-bootstrap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ set -e
33

44
## Install and configure a NFS server to export a 2TB remote attached LUN.
55

6+
### Send stdout, stderr to /var/log/messages/
7+
exec 1> >(logger -s -t $(basename $0)) 2>&1
8+
69
### Storage setup
710
wget -O /usr/local/bin/iscsiattach.sh https://raw.githubusercontent.com/oracle/terraform-provider-baremetal/master/docs/examples/storage/nfs/userdata/iscsiattach.sh
811
chmod +x /usr/local/bin/iscsiattach.sh

0 commit comments

Comments
 (0)