Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TargetServer requires user input to start #21

Open
gaul opened this issue Feb 4, 2015 · 3 comments · Fixed by ActiveVolcano/jSCSI#3 · May be fixed by #45
Open

TargetServer requires user input to start #21

gaul opened this issue Feb 4, 2015 · 3 comments · Fixed by ActiveVolcano/jSCSI#3 · May be fixed by #45

Comments

@gaul
Copy link
Contributor

gaul commented Feb 4, 2015

Presently TargetServer emits:

This system provides more than one IP Address to advertise.

[0] 172.17.42.1
[1] fe80:0:0:0:6676:baff:fe92:27c6%wlan0
[2] 192.168.1.73
[3] 0:0:0:0:0:0:0:1%lo
[4] 127.0.0.1

and requires user input to proceed. Instead it should read this value from the config file.

@sebastiangraf
Copy link
Owner

you're right. Unfortunately I have to admin that this project is here for legacy only. I left the disy-group and have no ressourcen to maintain this project actively.
I will leave this issue open until I or someone else finds time to fix it.

Thanks for the other PullRequests. I really appreciate that:)

@ActiveVolcano
Copy link

IP Address can be specified in start code like

import org.jscsi.target.Configuration;
import org.jscsi.target.TargetServer;

var config = Configuration.create (new File ("jscsi-target.xsd"), new File ("jscsi-target.xml"), "127.0.0.1");
new TargetServer (config).call();

@ActiveVolcano
Copy link

Besides the way of passing target address as Configuration class constructor parameter mentioned above,
here is a pull request #45 which loads target address setting from XML file.
No user input required anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants