I am attempting to develop a plugin. The main functionality of the plugin is going to be to automatically set the Virtual machine network based off the subnet set on the interface tab. The initial version would just match the name set in the interface tab to the name of the network on the virtual machine tab. Future versions might take a config file to set that mapping.
I believe the change should be pretty simple, just run a javascript function onchange when the subnet is selected. Therefore I need to include a new javascript (asset) on the host edit page. I see that plugins such as foreman_salt and foreman_bootdisk do just that. In my plugin I created a new asset and created the javascript file. However I am not sure how to tie that asset to the host edit page. Any direction would be appreciated. Thanks -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
