If i'm reading it correctly, that script is assuming that the machines are already added, and after it installs the core snap, it then deploys the application.
I'm performing this via a bundle, using the FCE tool. So, hence i'm using cloud-init so that once the machine is up, but before the charm software installs, the core snap is there.
So, I don't think I can use that same method, because the bundle is what is deploying the machines.
If i'm reading it correctly, that script is assuming that the machines are already added, and after it installs the core snap, it then deploys the application.
I'm performing this via a bundle, using the FCE tool. So, hence i'm using cloud-init so that once the machine is up, but before the charm software installs, the core snap is there.
So, I don't think I can use that same method, because the bundle is what is deploying the machines.