Comments (1)
So sorry about the delay!!!
In the 2.0 branch, HostingEnvironmentConfig.ActivateResourceDisk(self) is the best place. The call to MyDistro.ActivateResourceDisk() sets the global DiskActivated = True if the operation succeeded, False otherwise.
Currently:
def ActivateResourceDisk(self):
return MyDistro.ActivateResourceDisk()
You could change to:
def ActivateResourceDisk(self):
MyDistro.ActivateResourceDisk()
if DiskActivated == True:
# do something
else:
# do something else
return
I just tested a state consumer of my own, it works the same for me in the 2.0 version as the 1.34, which also uses a separate thread.
from walinuxagent.
Related Issues (20)
- [Questions] Questions related with OOM issues HOT 1
- [BUG] DVD resource can't be mounted HOT 3
- Provisioning failed: [ProtocolError] [CopyOvfEnv] Error mounting dvd: [OSUtilError] Failed to get dvd device from /dev HOT 6
- WARNING Daemon Daemon No route exists to 168.63.129.16 HOT 1
- SSL: CERTIFICATE_VERIFY_FAILED HOT 9
- [BUG] /var/lib/waagent/history taking up disk space HOT 13
- Unable to login to the Centos 7 2009 VM after waagent installation with selinux enabled. HOT 2
- [BUG] WALinuxAgent fails to mkfs.btrfs on the resource disk
- [BUG] WALinuxAgent is not able to copy ovf-env.xml
- [BUG] Cannot detect root partitions in /dev/disk/azure if OS disk is NVMe HOT 1
- [BUG] Add Support for cloud-init/waagent provisioning on "Fedora 38" (RDMA) HOT 1
- [FR] Best practice for packaging the WALinuxAgent for Nix/NixOS HOT 4
- [BUG] Installation fails on unendorsed distribution HOT 3
- Deprecation of distutils HOT 1
- Tried to create VMs in azure Across availability zone and got this error: No python interpreter found HOT 4
- [BUG] waagent missing ipv6.addr-gen-mode eui64 from nmcli command HOT 1
- [BUG] DNS issue where deprovisioning sets the hostname to localhost.localdomain HOT 1
- Running collect-logs HOT 2
- Log collection: Memory limit HOT 1
- [BUG] CPU credits drain on B1ls after update to 2.10.0.3 HOT 16
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 walinuxagent.