Comments (7)
Weird, we're asking cloud-init
to install it and still try and make sure it's there on each mount... I suppose we need to make surer.
from multipass.
If you try mounting before cloud-init has finished, this can happen. IMO we need to block commands like this until cloud-init finished
from multipass.
@popey would you say you were trying this very soon (say, within a minute) after the instance got started? If so, then at least we have an explanation (and a plan to resolve it).
from multipass.
No, some time after. Took me a while to grok the docs before I even tried.
from multipass.
Well, currently, we just set cloud-init to install sshfs in the VM and forget about it. So in this particular case, cloud-init was unable to install sshfs for some reason (non-functional networking, archive not available, etc.). So yeah, we need to add logic to check what's happening when mount fails and try to do something about it.
from multipass.
This bug is not fixed on Mac OS 10.14.6 Mojave. And when I restart the shell and try to do:
sudo su
apt-get update
apt-get install sshfs
It won't work because the apt-get update
fails to reach the server and I can't even ping archive.ubuntu.com.
from multipass.
I just resolved my problem on the Mac. I edited /etc/resolv.conf
and added nameserver 1.1.1.1
as the top line above the other nameserver line. I could then do dig google.ie
properly. At that point, I could do apt-get update
and then could run apt-get install sshfs
.
from multipass.
Related Issues (20)
- Not able to shell into existing instance after upgrading to multipass 1.14.0 HOT 3
- New GUI doesn't respect theme HOT 1
- mounting error HOT 2
- ICYMI: v1.14.0 not available via brew yet HOT 4
- multipass launch with memory <1Gb fails on memtest HOT 2
- /etc/hosts file contents reset once VM's are stopped HOT 2
- (Re-)Enable Copy/Paste HOT 2
- [GUI] Bulk selection affects invisible instances
- Multipass mounted directory permission issues (tox and virtualenv) HOT 4
- The Multipass profile lost the icon in the Windows Terminal
- Document what platform/driver/cpu combos support nesting HOT 1
- multipass delete on suspended vm cause weird error message
- multipass stop --force can not stop suspended vm if it does not have a suspend tag
- Unable to start any VM on macOS 14.5 with M1 Max, the VMs always end up with an `unknown` status HOT 14
- Error accessing VM after launch; state is always `unknown` HOT 2
- launch: timed out waiting for response, Web ui: Unknown state and just hanging HOT 13
- Multipass can not reach hosts, yet browser can. HOT 1
- Re-implement TCI protocol HOT 2
- Incompatibility between Cloudflare WARP client and Multipass (+ solution) HOT 4
- Qt Error in systemd output Ubuntu 22.04 HOT 3
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 multipass.