GithubHelp home page GithubHelp logo

bwight / cloudinit.net Goto Github PK

View Code? Open in Web Editor NEW
25.0 7.0 12.0 1.81 MB

CloudInit.NET is a service like the linux CloudInit application but designed for windows. Useful for Amazon EC2 but could be used for other environments as well. The service will download a file when the server starts and execute the code as a powershell script.

PowerShell 5.59% C# 93.90% Shell 0.51%

cloudinit.net's Introduction

CloudInit.NET

CloudInit.NET is a service like the linux CloudInit application but designed for windows. Useful for Amazon EC2 but could be used for other environments as well. The service will download a file when the server starts and execute the code as a powershell script.

To build just download the source code and run build.bat

** NOTE THE PROJECT WILL NOT BUILD FROM THE .ZIP FILE MUST CLONE REPO **

cloudinit.net's People

Contributors

bwight avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloudinit.net's Issues

build.bat needs default.build. Missing Build folder?

C:\DNNSources\CloudInit.NET\Scripts\Build\default.build:
Error loading buildfile.

Could not find a part of the path 'C:\DNNSources\CloudInit.NET\Scripts\Build

\default.build'.

For more information regarding the cause of the build failure, run the build aga
in in debug mode.

Try 'nant -help' for more information

#include expects ansi files

I couldn't get #include ps1 files to work. They crash with a ??? in the message.

I checked the file and it seems that .ps1 files get created in the Powershell ui as utf-8 files. Changing the file to be ansi (open and save as ansi in Notepad - still my favourite editor) fixes it.

Could CloudInit.Net check for utf-8 format as well as ansi to save this extra step?

problem building master

Hi

I downloaded the zipped master and tried to run build.bat but it fails. I am afraid I haven't the nant skills to fix it myself. Here is the output:

NAnt 0.86 (Build 0.86.3152.0; nightly; 2008-08-18)
Copyright (C) 2001-2008 Gerry Shaw
http://nant.sourceforge.net

[loadtasks] Failure scanning "C:\Users\Neil\Downloads\CloudInit.NET-master\CloudInit.NET-master\Tools\nant\NAnt.VSNetTasks.dll" for extensions. Could not load file or assembly 'file:///C:\Users\Neil\Downloads\CloudInit.NET-master\CloudInit.NET-master\Tools\nant\NAnt.VSNetTasks.dll' or one of its dependencies. The module was expected to contain an assembly manifest.
Buildfile: file:///C:/Users/Neil/Downloads/CloudInit.NET-master/CloudInit.NET-master/Scripts/Build/default.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: build

[property] Target framework changed to "Microsoft .NET Framework 4.0".

run_tasks:

 [echo] Running CloudInit tasks.

prepare:

[tstamp] Monday, January 07, 2013 11:09:47 AM.
[delete] Deleting directory 'C:\Users\Neil\Downloads\CloudInit.NET-master\CloudInit.NET-master\Build'.
[mkdir] Creating directory 'C:\Users\Neil\Downloads\CloudInit.NET-master\CloudInit.NET-master\Build'.
[echo] Current directory 'C:\Users\Neil\Downloads\CloudInit.NET-master\CloudInit.NET-master\Scripts\Build'

get_version:

 [vgen] Generating version 1.3.1307.4018

get_assembly_info:

[delete] Deleting file C:\Users\Neil\Downloads\CloudInit.NET-master\CloudInit.NET-master\Source\CommonAssemblyInfo.cs.
[asminfo] Generated file 'C:\Users\Neil\Downloads\CloudInit.NET-master\CloudInit.NET-master\Source\CommonAssemblyInfo.cs'.
[nant] C:\Users\Neil\Downloads\CloudInit.NET-master\CloudInit.NET-master\Scripts\Build\compile.cloudinit.step
Buildfile: file:///C:/Users/Neil/Downloads/CloudInit.NET-master/CloudInit.NET-master/Scripts/Build/compile.cloudinit.step
Target framework: Microsoft .NET Framework 4.0
Target(s) specified: compile

        compile:

            [mkdir] Creating directory 'C:\Users\Neil\Downloads\CloudInit.NET-master\CloudInit.NET-master\Build\CloudInit'.
            [mkdir] Creating directory 'C:\Users\Neil\Downloads\CloudInit.NET-master\CloudInit.NET-master\Build\Output\CloudInit'.

        BUILD FAILED

        C:\Users\Neil\Downloads\CloudInit.NET-master\CloudInit.NET-master\Scripts\Build\compile.cloudinit.step(16,10):
        Property evaluation failed.
        Expression: ${project.directory}\
                      ^^^^^^^^^^^^^^^^^
            Property 'project.directory' has not been set.

        Total time: 0 seconds.

BUILD FAILED

Nested build failed. Refer to build log for exact reason.

Total time: 0.3 seconds.

Neil

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.