Open prparmar77 opened 8 years ago
I tried using --public-ip pool option and it works fine.I am new to ruby etc and I think I know the code which is failing /knife-oraclecloud-master/knife-oraclecloud-master/lib/chef/knife/oraclecloud_server_create.rb
def public_ip return nil unless locate_config_value(:public_ip)
(locate_config_value(:public_ip) == "pool") ? :pool : "ipreservation:#{locate_config_value(:public_ip)}"
end
I think it should be treated by appending the service.prepend_identity_domain(:public_ip)
Can you tell me or guide how to rebuild the code locally so that I can fix some of the issues and you can merge or if I want add some of the feature I can create my own ..
Ok I managed to rebuild the code with modification and can now see things are working fine when I give ipreservation name.Note that documentation needs to be updated saying that username should be appended to public-ip reservation name while calling server creation
Can you put in a PR for this documentation change?
Looks like word ipreservation is appended twice on submitting the orchestration ..