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

Non-interactive ISO installation #1116

Open
ighsoh opened this issue Dec 19, 2024 · 3 comments
Open

Non-interactive ISO installation #1116

ighsoh opened this issue Dec 19, 2024 · 3 comments

Comments

@ighsoh
Copy link

ighsoh commented Dec 19, 2024

I understand that using a USB key, placing an answers.json file in the private directory you can automate SmartOS install, including the ISO based installations.
However I could not find any information on how this would be possible without the use of a USB key.

I see that there is a provision in smartos_prompt_config.sh for providing a custom path of an answers file, but since this is called by the system/smartdc/config service method at boot time, I am not sure how I could invoke it.

Is this even possible as of the current state of the configuration scripts?

@bahamat
Copy link
Member

bahamat commented Dec 19, 2024

That's only there for testing.

For an ISO there's currently no way. The problem is that it needs to get on the filesystem somehow, and it can't be loaded over the network because the network hasn't been set up yet when the answer file gets loaded.

@ighsoh
Copy link
Author

ighsoh commented Dec 19, 2024

Getting it onto the filesystem is not an issue since I could just simply create a new ISO with the answers already on there.

My case surely is unusual, therefore I am not against a PR, if this is something that is needed, it definitely is for me.

@bahamat
Copy link
Member

bahamat commented Dec 19, 2024

If you’re creating a new ISO then you can put it in private/amswers.json just like it would be for a USB.

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

No branches or pull requests

2 participants