Code Monkey home page Code Monkey logo

Comments (5)

anhvoms avatar anhvoms commented on June 23, 2024

This sounds great. A few comments:

  1. We should produce a library which has all the core functionality and the main application that consumes it so that anyone can just use the whole agent as-is and other agents who are interested only in the functionality can consume the library.
  2. We should think about making some of the functionality configurable. As an example: mounting the ISO to retrieve ovf file requires enabling UDF driver in the image, which might not be desirable for some users, especially if he/she does not have a need to provision the VM with password through Azure control plane. By making it configurable, the user can minimally customize the functionality of the agent/binary depending on his/her need

from azure-init.

dongsupark avatar dongsupark commented on June 23, 2024

I have been looking into this issue.

For separate structure of a common library and a binary that depends on the lib, one approach would be to introduce workspace.
So we can move all libs (distro, goalstate, imds, etc.) to a subdirectory, keeping only src/main.rs in the current form, to combine bin and lib in a top-level Cargo.toml.
ue-rs already has a similar workspace structure.

from azure-init.

dongsupark avatar dongsupark commented on June 23, 2024

Created a WIP PR #39.

from azure-init.

t-lo avatar t-lo commented on June 23, 2024

from azure-init.

dongsupark avatar dongsupark commented on June 23, 2024

Published v0.1.1 of libazureinit and azure-init.
The 2nd one, The library is built and tested in CI, versioned releases are published regularly is done.

from azure-init.

Related Issues (20)

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.