Archive for the 'googlefood' Category

Cisco CSR 1000V “license boot level” broken

Tuesday, May 9th, 2017

So you’re trying to install a Cisco Cloud Services Router 1000V. You try to install the Evaluation license that you got from Cisco.

But the command doesn’t work. :(


router# conf t
router(config)# license boot level ax
^
% Invalid input detected at '^' marker.

Solution: At least in AWS, there are several different classes of CSR. Once of the discriminations is “License Included” vs. “Bring Your Own License (BYOL).”

You can only install an eval license on a BYOL version. You’re probably trying to install it on a “License Included” version.

Listing AWS IAM Permission Names by System

Tuesday, April 18th, 2017

A tiny shell script for listing the AWS IAM permission for a particular system, like “ec2” or “s3”.

Does not handle every possible case, as some URL paths are inconsistent. YMMV.

Example:


lap ~> iam-permissions ec2 | head -5
ec2:AcceptReservedInstancesExchangeQuote
ec2:AcceptVpcPeeringConnection
ec2:AllocateAddress
ec2:AllocateHosts
ec2:AssignPrivateIpAddresses

Script below…

(more…)

Notes on Component (Part 1)

Tuesday, April 11th, 2017

Stuart Sierra’s Component library for Clojure took awhile for me to really understand. Hence these notes.

(more…)

Luminus directories: src/clj, src/cljs, src/cljc

Saturday, January 28th, 2017

When you use the lein plugin luminus to create a web application based on the Luminus Web Stack, it creates three directories under src: clj, cljs, and cljc.

What are these for?
(more…)

Googlefood: chef-spec tries to connect to localhost fauxhai.local

Wednesday, November 16th, 2016

There’s lots of different things that can cause this error. The one that I was hitting was rather unintuitive.

(more…)