GithubHelp home page GithubHelp logo

Comments (5)

jacques avatar jacques commented on May 28, 2024

Trisk, can you private message me the entire json payload that you provided to create-machine?

from smartos-live.

trisk avatar trisk commented on May 28, 2024

Nothing really sensitive here: https://gist.github.com/1274690

from smartos-live.

trisk avatar trisk commented on May 28, 2024

zonecfg(1) seems to be happy with this:

zonecfg:6f3c52cf-dbdf-4e67-be17-b66da6a78202> select device match=/dev/zvol/rdsk/zones/6f3c52cf-dbdf-4e67-be17-b66da6a78202-disk0
zonecfg:6f3c52cf-dbdf-4e67-be17-b66da6a78202:device> info
PAGER less does not exist (No such file or directory).
device:
        match: /dev/zvol/rdsk/zones/6f3c52cf-dbdf-4e67-be17-b66da6a78202-disk0
        property: (name=index,value="0")
        property: (name=boot,value="true")
        property: (name=model,value="ahci")
        property: (name=size,value="40960")

from smartos-live.

jjelinek avatar jjelinek commented on May 28, 2024

net-attr is a misnomer. We should have chosen a different
name when we added this but we made a mistake when we
first added it to the "net" resource. This really should have
been named something more general since it is not specific
to networks. This is really a key-value sub-resource.

Jerry

On Sun, Oct 9, 2011 at 10:56 PM, Albert Lee
[email protected]
wrote:

I used create-machine on a template containing:

 "disks": [
   {
     "boot": true,
     "model": "ahci",
     "size": 40960
   }

This ended up in /etc/zones/6f3c52cf-dbdf-4e67-be17-b66da6a78202.xml as:

 <device match="/dev/zvol/rdsk/zones/6f3c52cf-dbdf-4e67-be17-b66da6a78202-disk0">
   <net-attr name="index" value="0"/>
   <net-attr name="boot" value="true"/>
   <net-attr name="model" value="ahci"/>
   <net-attr name="size" value="40960"/>
 </device>

Unless I'm mistaken, net-attr attributes should only appear under the network sections.

Version is joyent_20110926T021612Z.

Reply to this email directly or view it on GitHub:
#6

from smartos-live.

joshwilsdon avatar joshwilsdon commented on May 28, 2024

We consider this a private interface and while the naming is unfortunate, we have no intention of changing it as there are existing deployments with this name.

from smartos-live.

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.