I'm trying to use the OpenStack Nova client and create a script in order to launch an instance. I was able to create a VM with a specific key but the problem is that i can't add an existing security group to that instance.
I know how to create a security group and add some rules to it using the nova client.
Thank you in advance
After launching an instance you can add a security group to it using the CLI
See the help for more info
Personally I would add the security group during the boot of an instance using the
--security-groupslike below