Skip to content

SUSE-Enceladus/azuremetadata

Repository files navigation

azuremetadata

Running in development

Running the stub metadata server locally

  1. Run ./stub_server.py -- it serves fixtures from fixtures directory on port 8888.
  2. Redirect packets for 169.254.169.254:80 to 127.0.01:8888:
iptables -t nat -A OUTPUT -p tcp -d 169.254.169.254 -j DNAT --to-destination 127.0.0.1:8888

Running the command-line tool

export PYTHONPATH=./lib ./azuremetadata

Running tests

make test
make coverage

About

Collect metadata for an instance in Azure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published