Open jouvin opened 5 years ago
If it is the primary address, I believe you have to delete and re-add the host.
I find it a little bit cumbersome to have to delete/re-add a host to change its primary address... Any good reason for this or is it something that we could improve?
No idea, design decision? @ned21 might have an idea about the motivation behind it. At RAL we don't normally allow hosts to be renamed because it causes a record keeping nightmare.
If it is not the primary address, then you need to delete/re-add it. If it is the primary address, then a little un-intuitively, aq update machine --machine ... --ip ...
is what you need.
@gombasg thanks for the info, I'll add it to the documentation. BTW, if it is not the primary address you need to delete/readd the interface address (according to the help), not the host, isn't it?
I need to change the address associated with a host interface.
aq update interface
help says that it should be done withadd add/del interface address
. But if I try to add an address to the interface with:I get the error:
and if I try to delete the existing address first with:
I get:
What did I do wrong?