Re: Problem bootstraping FreeBSD on EC2

2016-01-28 Thread cen
Even using full path for the command it still doesn't work. It's like I'm in SSH limbo with access completely restricted. I'll play around with it a bit more but I think I will ultimately create my own AMI with sudo and bash preinstalled. Ignasi Barrera je 28. 01. 2016 ob 11:12 napisal: I

Re: Problem bootstraping FreeBSD on EC2

2016-01-28 Thread cen
Found the solution. If I execute commands in a single line using &&, written as a java string they work as expected. But reading them from a file where I write them line by line it cause the problems mentioned previously: Files.toString(file, Charsets.UTF_8) If I write them in a single line

Re: Problem bootstraping FreeBSD on EC2

2016-01-28 Thread Klemen Ferjančič
It seems I've hit a wall. 1. For some reason, even when disabling init script on template builder, it still tries to run it. So I decided to skip it for now. .wrapInInitScript(false).runScript(getBootInstructions(os)).runAsRoot(true); 2. Running as root and disabling sudo does not actually

Re: Problem bootstraping FreeBSD on EC2

2016-01-28 Thread Ignasi Barrera
I have no experience with BSD instances, but could it be a PATH issue? Can you try setting the PATH manually? On 28 January 2016 at 09:13, Klemen Ferjančič wrote: > It seems I've hit a wall. > > 1. For some reason, even when disabling init script on template builder, > it

Use JClouds to talk to non AWS cloud with S3 API

2016-01-28 Thread Yao, Julie
I am using jcloud 1.9.2. We have set up our own swift repository with s3 api. We can access the repository using boto python script I am using the code in the following post http://stackoverflow.com/questions/9389840/use-jclouds-to-talk-to-non-aws-cloud-with-s3-api but I got error.: public