Comments (3)
@DesignsWithDavid , now that it's been a while, I'm curious if you've come to better understand any of these points as you've used the plugin more? One might say I'm one of the "next newbie"s you mentioned 😄
from packer-plugin-xenserver.
Unfortunately, I am still unclear on these terms.
from packer-plugin-xenserver.
This is my understanding as I've done some extensive testing:
The idea of using Packer is to create a template VM, therefore, once Packer runs all its tasks, it saves the VM and its disks as template on the host. Additionally it might export to a path. Here is where format and output_directory come into place.
They define in which format and to where you want the export to happen.
For Format if you set to none, nothing is exported if build is successful, but the template is still created if build is successful.
Keep_VM I believe has some bugs, but the idea is to define whether the VM should be deleted if Packer fails some task or not. Indeed I've also experimented with it and the VM will always get deleted unless I set keep_VM to always. Still, even if set to always, if the build is successful, it will create a template and delete the VM, so I believe that Keep_VM should be understood as "what should Packer do if build is not successful". I haven't found any use case for "on_success". I think it doesn't work. Setting it to "Always" will leave the VM running if you cancel the build. Setting it to "Never" will delete the VM in all use cases.
SR_Name is definitely not related with any kind of output. it's the Storage Repository where the VM disks will be created.
And yes, I also found the documentation quite confusing. Hope this helps somehow.
from packer-plugin-xenserver.
Related Issues (20)
- New release ? HOT 1
- discord invite link doesn't work HOT 1
- plugin compile instructions incorrect? HOT 6
- Recommended Workflow HOT 2
- [FEATURE REQUEST] - Support cd_files similar to floppy_files
- [Feature Request] Remove vnc exclusive lock when packer in debug mode
- Feature request: Add <waitXX> in boot_command
- boot_command appears to lose vnc connection on guest reboot HOT 1
- Feature request:Support SSH private keys with a passphrase
- Crash when lauching packer build only with 0.7.2 HOT 4
- packer examples/ubuntu/ubuntu-2004.pkr.hcl HOT 1
- [FEATURE REQUEST] Add ability to provide content directly to floppy_files and http_directory
- XenServer 8+ doesn't have xs-tools.iso by default, no option to ignore it HOT 3
- ISO Upload - Even is the ISO exists it is uploaded HOT 1
- Support changes of IP address on reboot of VM HOT 5
- Update builder documentation to include the missing (boot) `firmware` parameter HOT 2
- Cannot recreate template if old one (with same name) still exists HOT 3
- Let users choose if they want a template or a full VM HOT 3
- Boot command fails; Error detecting local IP: ssh: handshake failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-plugin-xenserver.