You can create rpm of your application package and keep it in /opt/vmware/www/ISV/appliancePackages/ folder. VMware Studio will install it automatically. Please go through the documentation which will explain how to create rpm.
In rpm's spec file, you can specify %pre and %post section to install and configure your application
Following is the link for documentation.
Please let me know if you need more information.
But, I don't want to do all the things automaticly. I want to do some configuration manually. For example I have application which requires me to: install via gui and do the configuration through web interface (add conection, create profiles, perform some scans and then use the collected data to prepare another configuration of another program). Manulally through GUI can take an hour. But preparing the shell scripts will take too long. So is it really impossible?
1. VMware Studio creates a default Virtual Appliance (VA) in JEOS (Just enough operating system) format, which does not contain GUI (KDE or GNOME). So if you want GUI then you have to explicitly add GUI packages in Application tab.
2. During VA build process it is nearly impossible to configure VA manually. But I will come back to you on this point. There is one way to give sleep time in build process and in that mean time you can access that VA and do your task. But in this case you might not get all features (advantages) of VMware Studio. like VA update facility.
Installation of GUI is not a problem at all. I've already done it by checking the checkbox in VMWare Studio. But appropriate question is: how to put to sleep migration process and add some configuration manualy (from vm system console or ssh)? Or maybe I should do this totally diferent way?
I found two other ways to create virtual Aplicance:
Import existing VM machine through CLI (VMware Studio)
convert existing VM machine via vCenter Converter plugin or Converter Standalone (option avaliable at Converter Standalone version 4.0.1 but not avaliable in 4.3, why ?)
1 person found this helpful
You can put the sleep command maybe in the Application Post-Install Script section.
Put a loop in the Post-Install Script that waits until a specific file exists (like /tmp/done, for example). The loop can sleep 5 so it doesn't hog the CPU. Then when the manual work is done, just do touch /tmp/done
One thing I would like to tell you is, VMware Studio is mainly designed for automating build process not for manual process.
> Installation of GUI is not a problem at all. I've already done it by checking the checkbox in VMWare Studio.
If you are talking about the checkbox which is present under Application Tab->VMware Tools->Install Packages for X.
If checked then VMware tools for X will be installed in the VM and not GNOME or KDE.
If you want to install GNOME or KDE then you need to specify packages under Application Tab->List of packages from OS install media area.
I knew that VMware Studio has ability to support users to delploy appliance package.
But if I pre-installed my appliance on an existing VM and build from this existing VM, this new build can be a virtual appliance?
As per my knowledge Yes. But you wont get VMware Studio's all features into your Virtual Appliance. like, Virtial Appliance update facility.