Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
DOMAIN="$1"
if [ -z "$DOMAIN" ]; then
echo "Usage: $(basename $0) <domain>"
exit 11
fi
fail_if_error() {
[ $1 != 0 ] && {
unset PASSPHRASE
#!/bin/bash
DOMAIN="$1"
if [ -z "$DOMAIN" ]; then
echo "Usage: $(basename $0) <domain>"
exit 11
fi
fail_if_error() {
[ $1 != 0 ] && {
unset PASSPHRASE
<!DOCTYPE html>
<html>
<!-- BEGIN head section -->
<head>
<title>FiFo Admin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Project FiFo administrative console">
<meta name="author" content="http://project-fifo.net">
<!-- Bootstrap -->
#!/bin/bash
#
# SCRIPT: do-smartsend.sh
# AUTHOR: Mark Slatem
# DATE: 11 APRIL 2012
# REV: 1.0.A
#
# PLATFORM: SmartOS
# REQUIREMENTS: SmartOS
#
Licenser
is now really off to bed
11:07
trentster
I think what joyent does is they ony give access to vnc console if you have access to the GZ which kind of emans you own the node
11:08
killfill
trentster: they have that on the joyent public cloud?
esx-server-01-vmnet0 172.16.5.91
vm1: bakos vmnet0 ip?
vm2: petervm vmnet0 ip?
vm3: winsrvppp vmnet0 ip?
esx-server-01-vmnet1 10.50.0.102
vm1: name? vmnet1 ip?
vm2: name? vmnet1 ip?
esx-server-01-vmnet0 172.16.5.91
vm1: bakos vmnet0 priv-ip? pub-ip? ports?
vm2: petervm vmnet0 priv-ip? pub-ip? ports?
vm3: winsrvppp vmnet0 priv-ip? pub-ip? ports?
esx-server-01-vmnet1 10.50.0.102
vm4: name? vmnet1 priv-ip? pub-ip? ports?
vm5: name? vmnet1 priv-ip? pub-ip? ports?
[root@smartosn4 ~]# vmadm get 8dc9a6ac-e2a7-4a32-87c3-75a56688e5a2
{
"zonename": "8dc9a6ac-e2a7-4a32-87c3-75a56688e5a2",
"zonepath": "/zones/8dc9a6ac-e2a7-4a32-87c3-75a56688e5a2",
"autoboot": true,
"brand": "joyent",
"limit_priv": "default",
"create_timestamp": "2013-01-07T01:00:17.865Z",
"image_uuid": "fdea06b0-3f24-11e2-ac50-0b645575ce9d",
"cpu_shares": 1024,
____ _ ___ ___
/ ___| | ___ _ _ __| \ \ / (_)____
| | | |/ _ \| | | |/ _` |\ \ /\ / /| |_ /
| |___| | (_) | |_| | (_| | \ V V / | |/ /
\____|_|\___/ \__,_|\__,_| \_/\_/ |_/___|
SmartMachine (base64 1.8.4)
# SmartMachine (base64 1.8.4) #
vi /etc/motd # add above logo
[root@44caba55-3ff0-4bef-a689-412e25b77bdd ~]# tail -f /var/svc/log/site-spawn-fcgi:default.log
[ Jan 8 11:00:36 Executing start method ("/opt/local/bin/spawn-fcgi -u www -g www -a 127.0.0.1 -p 9000 -- /opt/rt4/sbin/rt-server.fcgi"). ]
spawn-fcgi: child exited with: 2
[ Jan 8 11:00:37 Method "start" exited with status 2. ]
[ Jan 8 11:00:37 Executing start method ("/opt/local/bin/spawn-fcgi -u www -g www -a 127.0.0.1 -p 9000 -- /opt/rt4/sbin/rt-server.fcgi"). ]
spawn-fcgi: child exited with: 2
[ Jan 8 11:00:37 Method "start" exited with status 2. ]
[ Jan 8 11:00:37 Executing start method ("/opt/local/bin/spawn-fcgi -u www -g www -a 127.0.0.1 -p 9000 -- /opt/rt4/sbin/rt-server.fcgi"). ]
spawn-fcgi: child exited with: 2
[ Jan 8 11:00:37 Method "start" exited with status 2. ]