Skip to content

Instantly share code, notes, and snippets.

@silenius
Created August 10, 2016 12:18
Show Gist options
  • Save silenius/8efda8334cb16cd779efff027ff5f3bd to your computer and use it in GitHub Desktop.
Save silenius/8efda8334cb16cd779efff027ff5f3bd to your computer and use it in GitHub Desktop.
~/ salt "filer2.prod.lan" cmd.run "cat /etc/ctl.conf"
filer2.prod.lan:
auth-group ag0 {
chap filer xxx
}
portal-group pg0 {
discovery-auth-group no-authentication
listen 10.20.30.32
}
target iqn.2016-08.lan.prod:target0 {
auth-group ag0
portal-group pg0
lun 0 {
blocksize 4096
path /dev/da0p4
}
lun 1 {
blocksize 4096
path /dev/da1p4
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment