This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo '{"remove_nics": ["b2:b4:cb:d4:62:4f"]}' | vmadm update ce26e77d-0d63-40a6-a891-55c136290bca | |
| echo '{"add_nics": [{"interface": "net0","mac": "b2:b4:cb:d4:62:4f","nic_tag": "switch0","gateway": "10.20.0.254","primary": true,"ip": "10.20.0.10","netmask": "10.20.255.255"}]}' | vmadm update ce26e77d-0d63-40a6-a891-55c136290bca | |
| echo '{"update_nics":[{"mac": "b2:b4:cb:d4:62:4f", "ip": "10.0.1.10", "netmask": "10.255.255.255"}]}' | vmadm update ce26e77d-0d63-40a6-a891-55c136290bca |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs ? import <nixpkgs> {}, distribution ? [], ... }: | |
| let | |
| custompkgs = import <customnixpkgs> {}; | |
| in | |
| with pkgs.lib; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {config, pkgs, ...}: | |
| with pkgs.lib; | |
| let | |
| cfg = config.services.zookeeper; | |
| custompkgs = import <customnixpkgs> {}; | |
| zookeeper = custompkgs.zookeeper; | |
| zooCfg = pkgs.writeText "zoo.cfg" "${cfg.config}"; | |
| in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| disnixos-deploy-network ~/Nodes/disnix/deployment/network.nix --show-trace | |
| Distributing intra-dependency closure of profile: /nix/store/hxq63k4magx277s64zsbbyfwjcjx0mda-nixos-13.09pre5022_71365b7-38d54cf to target: 10.0.20.112 | |
| Connecting to the system bus. | |
| Creating a Glib proxy object. | |
| Add the argument signatures for the signal handler | |
| Register D-Bus signal handlers | |
| Assigned PID: 46 | |
| Executing operation. | |
| Received success signal from pid: 46 | |
| Distributing intra-dependency closure of profile: /nix/store/fzma5hx42dzw3ac8cim2r3x98gmcifbg-nixos-13.09pre5022_71365b7-38d54cf to target: 10.0.20.129 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { nixpkgs ? <originalpkgs>, system ? builtins.currentSystem }: | |
| let | |
| pkgs = import nixpkgs { inherit system; }; | |
| in | |
| rec { | |
| storm = import ../servers/computing/storm { | |
| inherit (pkgs) stdenv fetchurl zip unzip jdk lib python; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| disnixos-deploy-network network.nix --show-trace | |
| error: while evaluating the attribute `drvPath' at `/nix/store/l7ny7f17aii5qfgmadr2wcp3wan54wlp-nix-1.5.3/share/nix/corepkgs/derivation.nix:19:9': | |
| while evaluating the builtin function `derivationStrict': | |
| while instantiating the derivation named `manifest.xml' at `/nix/store/wsvdwydc13bxj3hnj74nf797y1zkasi6-disnixos-0.2pre77208b9bf296b2376bd95154b333db304b50bec0.tar.gz/share/disnixos/manifest.nix:23:3': | |
| while evaluating the derivation attribute `buildCommand' at `/nix/store/wsvdwydc13bxj3hnj74nf797y1zkasi6-disnixos-0.2pre77208b9bf296b2376bd95154b333db304b50bec0.tar.gz/share/disnixos/manifest.nix:25:3': | |
| while evaluating the builtin function `toXML': | |
| while evaluating the attribute `config.system.build.toplevel.outPath' at `/nix/store/0pzkjr9s78ak6m4shkl8sss24jmsd8rb-nixos/lib/eval-config.nix:69:3': | |
| while evaluating `checkModule' at `/root/sources/nixpkgs/pkgs/lib/modules.nix:357:23': | |
| while evaluating `fold' at `/root/sources/nixpkgs/pkgs/lib/lists.nix:24:19': | |
| whi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| error: while evaluating the attribute `drvPath' at `/nix/store/l7ny7f17aii5qfgmadr2wcp3wan54wlp-nix-1.5.3/share/nix/corepkgs/derivation.nix:19:9': | |
| while evaluating the builtin function `derivationStrict': | |
| while instantiating the derivation named `manifest.xml' at `/nix/store/wsvdwydc13bxj3hnj74nf797y1zkasi6-disnixos-0.2pre77208b9bf296b2376bd95154b333db304b50bec0.tar.gz/share/disnixos/manifest.nix:23:3': | |
| while evaluating the derivation attribute `buildCommand' at `/nix/store/wsvdwydc13bxj3hnj74nf797y1zkasi6-disnixos-0.2pre77208b9bf296b2376bd95154b333db304b50bec0.tar.gz/share/disnixos/manifest.nix:25:3': | |
| while evaluating the builtin function `toXML': | |
| while evaluating the attribute `config.system.build.toplevel.outPath' at `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/lib/customisation.nix:110:54': | |
| while evaluating the attribute `outPath' at `/nix/store/l7ny7f17aii5qfgmadr2wcp3wan54wlp-nix-1.5.3/share/nix/corepkgs/derivation.nix:18:9': | |
| while evaluating the builtin function `getAttr': | |
| while eva |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [nix@nixos:~/nixpkgs]$ sudo nix-build -A jenkins | |
| these derivations will be built: | |
| /nix/store/f6zz59hasm15q9lgqslmg53446h5swrd-Jenkins-1.529.drv | |
| building path(s) `/nix/store/nm4f4dqah8w1b7arfxgl2rm86vkbr1jn-Jenkins-1.529' | |
| building /nix/store/nm4f4dqah8w1b7arfxgl2rm86vkbr1jn-Jenkins-1.529 | |
| unpacking sources | |
| unpacking source archive /nix/store/6vqz3ax4pjy5dgy0bhmxaxmbwrcx88i8-jenkins.war | |
| source archive /nix/store/6vqz3ax4pjy5dgy0bhmxaxmbwrcx88i8-jenkins.war has unknown type | |
| builder for `/nix/store/f6zz59hasm15q9lgqslmg53446h5swrd-Jenkins-1.529.drv' failed with exit code 1 | |
| error: build of `/nix/store/f6zz59hasm15q9lgqslmg53446h5swrd-Jenkins-1.529.drv' failed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd ~ | |
| sudo apt-get update | |
| sudo apt-get install unzip curl python-software-properties -y | |
| wget https://raw.github.com/flexiondotorg/oab-java6/master/oab-java6.sh -O oab-java6.sh | |
| chmod +x oab-java6.sh | |
| sudo ./oab-java6.sh | |
| sudo apt-get update | |
| sudo apt-get install sun-java6-jre sun-java6-plugin -y | |
| wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.7.tar.gz -O elasticsearch.tar.gz |
NewerOlder