Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide port forwards #53

Open
tarioch opened this issue Jul 10, 2015 · 1 comment
Open

provide port forwards #53

tarioch opened this issue Jul 10, 2015 · 1 comment

Comments

@tarioch
Copy link

tarioch commented Jul 10, 2015

It would be nice to be able to provide port forwards for nat setups.

A script like

http://www.torrycrass.com/2013/03/09/kvm-qemu-libvirt-nat-and-firewall-networking/

works really nice.

@jaggededgedjustice
Copy link

It should be easy enough to provide a way to manage the libvirt hook scripts, that would allow you to set up the natting you require.
Since people might want a static file or a template, this would probably require 2 parameters per hook script - something like:

class { 'libvirt ':
  qemu_hook_source => puppet:///some/file,
}

or

class { 'libvirt ':
  qemu_hook_content => template('some/file.erb')
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants