Comments (5)
Trisk, can you private message me the entire json payload that you provided to create-machine?
from smartos-live.
Nothing really sensitive here: https://gist.github.com/1274690
from smartos-live.
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.
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 thenetwork
sections.Version is joyent_20110926T021612Z.
Reply to this email directly or view it on GitHub:
#6
from smartos-live.
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)
- control+c kills "screen" HOT 3
- Creation of encrypted zpool during CN setup broken HOT 2
- LX Ubuntu 20.04 dnsmasq issue HOT 2
- reconcile different DHCP flags and spoof protection handling HOT 1
- unable to install on machine with no nic
- Spice on SmartOS guide is incorrect HOT 2
- feat: imgadm: add support for authentication to docker hub HOT 4
- atq coredump on SmartOS 20210114T163038Z and 20210311T001742Z HOT 16
- piadm can be nicer about being ran in a non-global zone
- localhost doesn't resolve to ::1, despite having the correct entry in /etc/hosts HOT 2
- OpenBSD BHYVE VM does not boot in SmartOS 20210311T001742Z and 20210325T002528Z anymore HOT 4
- dockerinit should support link-local routes
- Ship /usr/lib/pci/pcieadm HOT 1
- tmux troubles with port_associate on pkgsrc illumos HOT 5
- lx: add support for timers to target specific process/thread cpu clocks HOT 2
- mdata-put randomly hangs HOT 1
- NFS mounting broken on newish LX images HOT 7
- libera.chat address miss-typed in readme
- IPv6 partially broken under lx ubuntu 20.04 HOT 2
- p7zip commands silently truncated terminal-entered passwords to 8 characters 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 smartos-live.