Comments (5)
Would you mind posting your modified vmbuilders/ubuntu.sh
?
from vmcli.
I ran into this same issue. My problem is that I am using nix
as my package manager which is using the GNU version of dd
instead of the FreeBSD version.
~ $ which dd
/etc/profiles/per-user/heywoodlh/bin/dd
The FreeBSD version of dd
uses lower case letters for the block size (i.e. 1m
) vs the GNU version using caps (1M
).
I fixed my issue by modifying vmbuilders/ubuntu.sh
to point to the MacOS-included /bin/dd
:
# expand disk to 4GB
/bin/dd if=/dev/null of=disk.img bs=1m count=0 seek="$disk_size"
On a related note: I also had to modify vmbuilders/ubuntu.sh
to use /usr/bin/uname
instead of the uname
in my PATH because Nix included an x86_64 version of uname
so vmbuilders/ubuntu.sh
was grabbing the x86_64 bit version of Ubuntu vs the arm64 version.
Maybe a fix for this would be to point the tools reliant on the included MacOS binaries by using their full path rather than relying on the user's $PATH to find those commands. I can submit a pull request if desired?
from vmcli.
@heywoodlh That'd be great!
from vmcli.
Thanks @heywoodlh !
from vmcli.
I second that: thanks @heywoodlh using the explicit paths for dd and uname also fixed my problem. I have the GNU binutils from MacPorts installed.
from vmcli.
Related Issues (20)
- Add vmcli to Homebrew HOT 2
- vm gzip error HOT 3
- vmctl pause would be a great feature HOT 2
- VM Creation Step fails - 'VZErrorDomain error 1.' HOT 7
- How to make a connection between two guest VMs? HOT 2
- Does this work for Intel based Macs? HOT 2
- How to share host folders into VM? HOT 2
- Debian doesn't boot properly or console input doesn't work HOT 3
- Kernel Panic when using a Network Bridge interface inside VM
- How to create a vmbuilder for debian HOT 8
- Working in monterey, however VM Linux not full configured HOT 1
- Proper configuration using a nocloud iso image HOT 1
- vmctl list lists directories not VMs HOT 2
- Virtualization.framework is crashing on start HOT 4
- FIlesystem corruption after every shutdown
- How to create a vmbuilder for MacOS
- 多网卡
- VZBridgedNetworkDeviceAttachment网卡添加失败 HOT 1
- Unable to resize vm volume HOT 2
- Feature Request: Read configuration from file
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 vmcli.