Comments (5)
This sounds great. A few comments:
- 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.
- 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.
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.
Created a WIP PR #39.
from azure-init.
from azure-init.
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)
- image creation script needs to retry for storage blob access error when trying to retrieve boot diagnostic HOT 3
- Update crates h2, regex, thread_local, term HOT 1
- [RFE] Setup ephemeral networking to report provisioning complete HOT 2
- [RFE] Support for custom data (or document why it is not supported)
- [RFE] Support pre-provisioning on Azure
- [RFE] Disable provisioning with password HOT 1
- [RFE]: imds test coverage for functional_tests
- [RFE] Send user-agent as part of header for IMDS calls HOT 1
- [RFE] Report failures to Azure when there's an unrecoverable error
- VM provisioning succeeds even when azure-init returns error
- [RFE] azure-init should add retries around IMDS and Wireserver operations HOT 2
- [RFE] Output log to a known (perhaps configurable) location
- [RFE] Provide a mechanism to configure behavior of azure-init at runtime
- azure-init should not assume provisioning media is always at /dev/sr0 HOT 2
- libazureinit needs to update the sshd config when it provisions a user with password
- libazureinit currently does not bounce DHCP to publish hostname to Azure platform DNS HOT 1
- [RFE] passwordless sudo
- [RFE] Interaction with Linux Guest/Extension Agent (walinuxagent)
- Understand Type mismatch for coref 'Clause' vs 'Description' HOT 1
- [RFE] decouple mount/ovf logic out of get_username
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-init.