local repo copies, and dinner?
Tonight I was hoping to pick people's brains on setting up a local full debian or fedora copy so I can apt or yum install anything from it. Has anyone done this? How much space do you need? And is there a plan for dinner after nmglug tonight?
Hi Mark, I use apt-cacher-ng to provide a local package cache for myself, which I use for arch, debian and ubuntu. It can be configured to cache fedora packages too. You don't have to cache every package, just the ones that you have ever installed on any any machine via the caching server. I'll show you how this evening. Thanks, Geoff On 12/08/2016 09:40 AM, Mark Galassi wrote:
Tonight I was hoping to pick people's brains on setting up a local full debian or fedora copy so I can apt or yum install anything from it. Has anyone done this? How much space do you need?
And is there a plan for dinner after nmglug tonight? _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
Mark> Tonight I was hoping to pick people's brains [...] I have also been trying to find the cleanest way to have longer-lasting leases in dhcp for virt-manager VMs, or a clean integration of guest hostnames into host dns. Anyone up for talking about that this evening?
I have also been trying to find the cleanest way to have longer-lasting leases in dhcp for virt-manager VMs, or a clean integration of guest hostnames into host dns. Anyone up for talking about that this evening?
I'm a big fan of bridging the hosts interface so that the guest kvm can access the LAN directly. I avoid NAT if possible. As for DNS, you could hack your etc hosts file or better yet use a caching dns server on your router. I prefer openwrt for this kind of setup. Very solid and flexible (for "normal" network setups). Dinner at Second Street Brewery on 2nd st. A.k.a Oldery. Jason
My KVMs use a virtio device bridge and don't occupy a different lease than the physical NIC on my host machine. virt-manager should be able to setup the bridge for you. On Thu, Dec 8, 2016 at 12:52 PM jason schaefer <js@jasonschaefer.com> wrote:
I have also been trying to find the cleanest way to have longer-lasting leases in dhcp for virt-manager VMs, or a clean integration of guest hostnames into host dns. Anyone up for talking about that this evening?
I'm a big fan of bridging the hosts interface so that the guest kvm can access the LAN directly. I avoid NAT if possible.
As for DNS, you could hack your etc hosts file or better yet use a caching dns server on your router. I prefer openwrt for this kind of setup. Very solid and flexible (for "normal" network setups).
Dinner at Second Street Brewery on 2nd st. A.k.a Oldery.
Jason
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
js> I'm a big fan of bridging the hosts interface so that the guest js> kvm can access the LAN directly I agree that it is the best way to do set up VMs for many purposes. But I'm talking about another use for virt-managed KVM VMs: I like to simulate setups that are independent of the local network, and setups that are shut off from most of the world. (Also sometimes for quick "create, run release engineering/qa scripts, destroy" purposes.) I then like to have a rapid procedure that stands-up these configurations. For such a simulation the default NAT works well, and I'm trying to give it a transportable configuration with less volatile ip addresses and some repos.
Reusing MAC addresses for VMs will probably prevent lease consumption unless the the DHCP server is more clever and uses other information about the system to store leases. On Thu, Dec 8, 2016 at 1:37 PM Mark Galassi <mark@galassi.org> wrote:
js> I'm a big fan of bridging the hosts interface so that the guest js> kvm can access the LAN directly
I agree that it is the best way to do set up VMs for many purposes.
But I'm talking about another use for virt-managed KVM VMs: I like to simulate setups that are independent of the local network, and setups that are shut off from most of the world. (Also sometimes for quick "create, run release engineering/qa scripts, destroy" purposes.)
I then like to have a rapid procedure that stands-up these configurations.
For such a simulation the default NAT works well, and I'm trying to give it a transportable configuration with less volatile ip addresses and some repos. _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
But I'm talking about another use for virt-managed KVM VMs: I like to simulate setups that are independent of the local network, and setups Keep in mind that you can make any network you want on any virtual machine using either bridging or virtual networks..
that are shut off from most of the world. (Also sometimes for quick "create, run release engineering/qa scripts, destroy" purposes.) This might help http://wiki.libvirt.org/page/Networking
I then like to have a rapid procedure that stands-up these configurations.
I would rely on virt-manager as much as possible, its very easy and fast. You can use it to create/destroy virtual networks too.
For such a simulation the default NAT works well, and I'm trying to give it a transportable configuration with less volatile ip
I would urge you to use a proper router. For example, setup a virtual openwrt or vyos to run your virtual network gateway, dhcp, dns, routing, etc. Then stick your hosts behind it.
addresses and some repos. The repository can be anywhere that is reachable by the guests. I would choose the kvm host server because its local and fast.
I'm heading to w21 right now. See you there!
participants (4)
-
Geoff Chesshire -
James Hemsing -
jason schaefer -
Mark Galassi