I'm using multipass to setup an Ubuntu virtual machine image. I'd like to make the installation of apt packages repeatable. Is it possible to script this somehow?
Can I automate vm instance setup with Multipass?
629 Views Asked by thinwybk At
1
There are 1 best solutions below
Related Questions in UBUNTU-18.04
- SSH Connection timed out on EC2 Ubuntu
- Error with OpenCV imshow in anaconda environment
- Can't import numpy module into python file, but it works with terminal
- CKAN Internal Server Error (500) on production / python errors in logs following ubuntu 16->18 update
- FMUException: Error loading the binary. Could not load the FMU binary
- Command 'vagrant' not found
- Why Docker can't detect WSL 2 distro in Windows 10 Home?
- how to install rstan in ubuntu 18.04
- R: source() cannot open the connection, status was 'Couldn't resolve host name'
- How do I fix this error when running a cron job for Moodle 3.9?
- MongoDB Docker container start and then exits itself with non Docker error codes
- Unable to change PHP version in Ubuntu 18.04 terminal
- CMake Error: CUDA_cublas_LIBRARY (ADVANCED)
- Prevent Raspberry Pi 4 for going to sleep/shutdown (Ubuntu Server 18.04)
- npm package getting installed but not working
Related Questions in MULTIPASS
- Hash sum mismatch when apt-get update Ubuntu 20.04 VM with Multipass
- Can't pull docker image
- Multi-pass shading using render-to-texture
- Failing to link fcgi library with g++ in multipass
- How to run custom install commands/scripts with cloudinit
- How do you add light with multiple passes in OpenGL?
- Unity: Is it possible to use 2 passes consecutively?
- Multipass totally broken on MacOS & multipassd error logs
- Prevent terraform function 'templatefile' from outputting heredoc
- How to fix multipass error: list failed: cannot connect to the multipass socket
- How to view live file system of Multipass VM using LXD driver externally?
- How can I make Ubuntu VM image running in Multipass available in local network?
- Can I automate vm instance setup with Multipass?
- Microk8s on Window11 not install/uninstalling correctly
- mutipass:launch failed: Failed to resize instance image - error executing powershell command
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You could create a cloud-config file and add it via --cloud-init option when launching a fresh VM. Cloud init lets you provision a VM on almost any cloud provider, it's a very versatile tool. That way you can add any package you want, create news users, run bash commands etc. . More on cloud-config files here.
You then run a cloud-config file with: