GithubHelp home page GithubHelp logo

"home" could not be copied about cilicon HOT 10 CLOSED

torarnv avatar torarnv commented on May 21, 2024
"home" could not be copied

from cilicon.

Comments (10)

torarnv avatar torarnv commented on May 21, 2024

Also, this, which looks worrying:

image

from cilicon.

torarnv avatar torarnv commented on May 21, 2024

The default config has vmClonePath: /Users/torarne/vmclone, but it looks like the code expects it to be / terminated, otherwise it tries to create /Users/torarne/vmclonehome, /Users/torarne/vmcloneusr, etc

from cilicon.

torarnv avatar torarnv commented on May 21, 2024

This is scary:

image

from cilicon.

Marcocanc avatar Marcocanc commented on May 21, 2024

Would you mind sharing your full cilicon.yml file so I can try to look into it (feel free to redact any confidential info)?

from cilicon.

torarnv avatar torarnv commented on May 21, 2024

I installed the app, ran it for the first time, got this:

image

Entered a local tart VM name (ventura-vanilla:13.4) based on

❯ tart list
Source Name                         Size Running
local  monterey-vanilla:12.6        18   false
local  sonoma-vanilla:14.0-23A5257q 31   false
local  sonoma-vanilla:14.0-beta     18   false
local  ventura-vanilla:13.4         16   false

Which generated:

❯ cat ~/cilicon.yml
provisioner:
  type: script
  config:
    run: echo Hello World && sleep 10 && echo Shutting down
hardware:
  ramGigabytes: 8
  display:
    width: 1920
    height: 1200
    pixelsPerInch: 80
  connectsToAudioDevice: false
directoryMounts: []
source: ''
vmClonePath: /Users/torarne/vmclone
editorMode: false
retryDelay: 3
sshCredentials:
  username: admin
  password: admin

Which put this in my home dir:

drwxr-xr-x@   2 torarne  staff     64 Jun 27 16:19 vmclone
lrwxr-xr-x@   1 torarne  staff     25 Jun 27 12:08 vmclonehome -> /System/Volumes/Data/home
drwxr-xr-x@   3 torarne  staff     96 Jun 27 16:19 vmcloneusr

from cilicon.

Marcocanc avatar Marcocanc commented on May 21, 2024

That'll likely be the issue. If you want to use a local (non-cached OCI) image from tart you will need to enter its path (~/.tart/vms/...). It doesn't currently support taking names directly as used in tart but it would be a good addition in the future. I will probably add a validation of the entered path before proceeding in the future.

from cilicon.

torarnv avatar torarnv commented on May 21, 2024

Ah, that fixed it yes! Thanks! A very strange failure mode though :D Would perhaps make sense to fix/improve regardless of whether plain named tart images are supported. Perhaps a quick check whether the path exists if it's not an oci image.

from cilicon.

torarnv avatar torarnv commented on May 21, 2024

The problem seemed to be that source: '' was empty, so it tried to clone home. It's now source: ~/.tart/vms/ventura-vanilla:13.4

from cilicon.

Marcocanc avatar Marcocanc commented on May 21, 2024

Great, is it working? If so we can close the issue.

from cilicon.

torarnv avatar torarnv commented on May 21, 2024

Yepp, works for me now :) Thanks!

from cilicon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.