Comments (3)
Hoi 👋, thanks for the question!
As you correctly pointed out runcmd
isn't a part of autoinstall
- it's actually a part of cloud-init
. The advanced sample in question combines both autoinstall
and cloud-init
into a single file as noted here:
Line 20 in e961eb1
Its understandably confusing because many of the auto-install
modules share the same name as cloud-init
modules. You can find more information about cloud-init
modules here. I also maintain a set of cloud-init
(not auto-install
) profiles for use with virtual-machines here for reference
As for testing - I just rebuilt a VM using this profile and verified that it builds properly, though found I needed to change the username specified for setting the brew path (that has been fixed now)
In general, testing for pxeless is done via QEMU using this project to generate the specific commands, in this case:
sudo qemu-system-x86_64 \
-machine accel=kvm,type=q35 \
-cpu host,kvm=off,hv_vendor_id=null \
-smp 8,sockets=1,cores=4,threads=2,maxcpus=8 \
-m 8G \
-cdrom /home/max/repos/pxeless/ubuntu-autoinstall.iso \
-object iothread,id=io1 \
-device virtio-blk-pci,drive=disk0,iothread=io1 \
-drive if=none,id=disk0,cache=none,format=qcow2,aio=threads,file=hdd.img \
-netdev user,id=network0,hostfwd=tcp::1234-:22 \
-device virtio-net-pci,netdev=network0 \
-serial stdio -vga virtio -parallel none \
-bios /usr/share/ovmf/OVMF.fd \
-usbdevice tablet \
-vnc 192.168.50.100:0
The virtual machine uses the pxeless ISO file as a boot drive and the GRUB/boot prompts are navigated via a VNC connection with the VM.
Hope this helps!
from pxeless.
Thanks for the swift reply and for maintaining the project.
from pxeless.
Thanks for the swift reply and for maintaining the project.
No problem! 😊
from pxeless.
Related Issues (16)
- An issue within the readme example HOT 5
- switch combinations HOT 2
- Not a bug, just an FYI to anyone using subdirectories HOT 7
- Working examples with Ubuntu 22.04.1 Desktop? HOT 4
- Update dockerhub readme HOT 1
- Versioned docker images HOT 1
- GUIDE: Testing your ISO with QEMU HOT 1
- BUG: extra files not copied to live system during install when using `-x` HOT 4
- [Question] Offline package installation HOT 2
- [Advice] Unable to log-in to newly created image using user-data.basic config? Try this: HOT 4
- [FEATURE] Add a user account with sudo access in container
- Make sudo conditional to user/env HOT 1
- stat /data/image-create.sh: no such file or directory: unknown. HOT 6
- [FEATURE] Customize boot parameters HOT 2
- Release ISOs are not valid more than a day. HOT 2
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 pxeless.