You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded the latest configshell to see if 81aec24 fixes my IPv6 issues in targetcli and it doesn't quite do it. I can now type cd [<tab> and it autocompletes where it would fail before. Since we do a lot of configuration with scripts, we can't programatically operate on IPv6 portals either in the shell or from the command line.
/iscsi/iqn.20...com.test/tpg1> portals/ delete 0.0.0.0 ip_port=3260
Deleted network portal 0.0.0.0:3260
/iscsi/iqn.20...com.test/tpg1> portals/ create ::
::0 ::1
/iscsi/iqn.20...com.test/tpg1> portals/ create ::0
Using default IP port 3260
Created network portal ::0:3260.
Tab complete work with latest config shell, even from parent directories.
/iscsi/iqn.20...com.test/tpg1> cd portals/[::0]:3260
/iscsi/iqn.20...ls/[::0]:3260> ls
o- [::0]:3260 ............................................................................................ [OK]
/iscsi/iqn.20...ls/[::0]:3260> cd ..
/iscsi/iqn.20.../tpg1/portals> cd [::0]:3260
/iscsi/iqn.20...ls/[::0]:3260> ls
o- [::0]:3260 ............................................................................................ [OK]
/iscsi/iqn.20...ls/[::0]:3260> cd ..
Even just typing in the IPv6 name without tab complete works, it didn't before.
/iscsi/iqn.20.../tpg1/portals> cd [::0]:3260
/iscsi/iqn.20...ls/[::0]:3260> ls
o- [::0]:3260 ............................................................................................ [OK]
/iscsi/iqn.20...ls/[::0]:3260> cd ..
Now try to reference the directory like we did above to delete and create the portal and list the contents. We get nothing! We can't tabcomplete when we start with '[' like we can otherwise.
/iscsi/iqn.20.../tpg1/portals> [::0]:3260/ ls
/iscsi/iqn.20.../tpg1/portals> cd ..
Let's try from a parent and use tabcompletion to help.... Still no luck! Odd thing is that we get moved into the portals directory....
/iscsi/iqn.20...com.test/tpg1> portals/[::0]:3260 ls
/iscsi/iqn.20.../tpg1/portals> cd ..
Let's just try to run the command that we are interested in...
I downloaded the latest configshell to see if 81aec24 fixes my IPv6 issues in targetcli and it doesn't quite do it. I can now type
cd [<tab>
and it autocompletes where it would fail before. Since we do a lot of configuration with scripts, we can't programatically operate on IPv6 portals either in the shell or from the command line.Tab complete work with latest config shell, even from parent directories.
Even just typing in the IPv6 name without tab complete works, it didn't before.
Now try to reference the directory like we did above to delete and create the portal and list the contents. We get nothing! We can't tabcomplete when we start with '[' like we can otherwise.
Let's try from a parent and use tabcompletion to help.... Still no luck! Odd thing is that we get moved into the portals directory....
Let's just try to run the command that we are interested in...
Running from the command line isn't any better. This is how we normally run our scripts.
The text was updated successfully, but these errors were encountered: