fix acls 2
This commit is contained in:
parent
4d2d3104a8
commit
db07826ef6
1 changed files with 17 additions and 2 deletions
|
|
@ -24,7 +24,23 @@ let
|
||||||
# iscsi info
|
# iscsi info
|
||||||
nasBase = "iqn.2026-01.dev.nyxerinys:poseidon";
|
nasBase = "iqn.2026-01.dev.nyxerinys:poseidon";
|
||||||
|
|
||||||
initiators = [
|
initiators = map ( name: {
|
||||||
|
node_wwn = "iqn.2026-01.dev.nyxerinys:${name}";
|
||||||
|
mapped_luns = [
|
||||||
|
{
|
||||||
|
index = 0;
|
||||||
|
tpg_lun = 0;
|
||||||
|
write_protect = false;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}) [
|
||||||
|
"gamma"
|
||||||
|
"delta"
|
||||||
|
"epsilon"
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
[
|
||||||
{ node_wwn = "iqn.2026-01.dev.nyxerinys:gamma"; }
|
{ node_wwn = "iqn.2026-01.dev.nyxerinys:gamma"; }
|
||||||
{ node_wwn = "iqn.2026-01.dev.nyxerinys:delta"; }
|
{ node_wwn = "iqn.2026-01.dev.nyxerinys:delta"; }
|
||||||
{ node_wwn = "iqn.2026-01.dev.nyxerinys:epsilon"; }
|
{ node_wwn = "iqn.2026-01.dev.nyxerinys:epsilon"; }
|
||||||
|
|
@ -68,7 +84,6 @@ in {
|
||||||
wwn = "${nasBase}.${t.name}";
|
wwn = "${nasBase}.${t.name}";
|
||||||
tpgs = [{
|
tpgs = [{
|
||||||
enable = true;
|
enable = true;
|
||||||
generate_node_acls = true;
|
|
||||||
portals = [
|
portals = [
|
||||||
{
|
{
|
||||||
ip_address = "0.0.0.0";
|
ip_address = "0.0.0.0";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue