...
"customer_metadata": {
"salt:roles": "salt-master",
"user-script": "/srv/salt/bootstrap/zoneinit"
},
...
...
"customer_metadata": {
"salt:roles": "salt-master",
"user-script": "/srv/salt/bootstrap/zoneinit"
},
...
| # | |
| # Copyright (c) 2013 Jorge Schrauwen. All rights reserved. | |
| # | |
| # AniDB Is a scanner that will parse files renamed using adbren.pl using the following format: | |
| # %anime_name_romaji% - %episode% - %episode_name% - [%group_short%](%crc32%).%filetype% | |
| # | |
| ## known issues | |
| # - crashes on multi episode anime | |
| # -- parse 1-3 and do offset calculation |
I wanted to replace rsync for my current host backups.
I had 2 hosts (1 laptop and 1 desktop) that would get there changes polled from a backup server. (polled = cronjob ran every hours) Ofcourse those boxes are not always on and a frenzy of cron mails happen every now and then.
I replaced everything with syncthing, they have clients available for linux, illumos, openbsd and mac. With the config below (client::folder master = yes, server::folder master = no) we prevent the server from accidentally overriding a file on the client. The client knows the server's IPv4 and/or IPv6 address so we do not need global or local discovery nor UPnP.
| CPU ID FUNCTION:NAME | |
| 0 4607 brk:entry | |
| 0 4608 brk:return 4096 | |
| 0 4709 uname:entry | |
| 0 4710 uname:return 0 | |
| 0 4625 access:entry | |
| 0 4626 access:return -2 | |
| 0 4601 mmap:entry | |
| 0 4602 mmap:return 140737471971328 | |
| 0 4625 access:entry |
| Testing repo: http://5.135.127.102/2014Q4/x86_64/All/ | |
| Just add as additional repository | |
| Remove net/samba4 and cleanup left over files | |
| Install net/pbd-samba4 | |
| Prepare dataset for ACL's and create a share called 'zfsacl' | |
| zfs create -o casesensitivity=mixed -o nbmand=on -o utf8only=on -o aclmode=passthrough -o aclinherit=passthrough -o mountpoint=/share zones/`zonename`/data/shares | |
| zfs create -o quota=512M zones/`zonename`/data/shares/zfsacl |
| pkgin -y install gcc47 git-base | |
| PKG_VER=$(cat /opt/local/etc/pkgin/repositories.conf | grep 'SmartOS' | cut -d"/" -f 6) | |
| mkdir -p /content/{distfiles,packages} | |
| cd /content | |
| git clone git://github.com/joyent/pkgsrc.git | |
| cd /content/pkgsrc | |
| git checkout joyent/release/${PKG_VER} | |
| git submodule init | |
| git submodule update |
| STATE STIME FMRI | |
| offline 23:04:48 svc:/milestone/multi-user:default |
| root@lxubuntu64:~# ./netstat -tpln | |
| Active Internet connections (only servers) | |
| Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name | |
| tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN - | |
| tcp 0 0 0.0.0.0:3000 0.0.0.0:* LISTEN - | |
| tcp 0 0 172.16.15.232:389 0.0.0.0:* LISTEN - | |
| tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN - | |
| tcp 0 0 127.0.0.1:7306 0.0.0.0:* LISTEN - | |
| tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN - | |
| tcp 0 0 127.0.0.1:23232 0.0.0.0:* LISTEN - |
| root@lxubuntu64:~# x11vnc | |
| ############################################################### | |
| #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@# | |
| #@ @# | |
| #@ ** WARNING ** WARNING ** WARNING ** WARNING ** @# | |
| #@ @# | |
| #@ YOU ARE RUNNING X11VNC WITHOUT A PASSWORD!! @# | |
| #@ @# | |
| #@ This means anyone with network access to this computer @# | |
| #@ may be able to view and control your desktop. @# |
| root@lxubuntu64:~# gimp | |
| Failed to execute child process "dbus-launch" (No such file or directory) | |
| //bin/dbus-launch terminated abnormally without any error message | |
| (script-fu:9595): LibGimp-ERROR **: shmat() failed: Invalid argument | |
| Could not attach to gimp shared memory segment | |
| GIMP-Error: Plug-in crashed: "script-fu" | |
| (/usr/lib/gimp/2.0/plug-ins/script-fu) | |
| The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side. |