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

piadm can be nicer about being ran in a non-global zone #981

Open
sjorge opened this issue Mar 22, 2021 · 0 comments
Open

piadm can be nicer about being ran in a non-global zone #981

sjorge opened this issue Mar 22, 2021 · 0 comments

Comments

@sjorge
Copy link
Contributor

sjorge commented Mar 22, 2021

[root@smtest ~/config/states/hypervisor/smartos]# piadm list
di_init() failed
di_init() failed
/usr/sbin/piadm: line 718: CONFIG_sapi_domain: parameter null or not set
di_init() failed
PI STAMP               BOOTABLE FILESYSTEM            BOOT IMAGE NOW  NEXT

Was not expecting it to work, just ran it in the wrong terminal. We could probably be nicer about it and just exit with a message when the zonename != global ?

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

1 participant