Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cleanup and Removal of components before shippng of VM

Featured Replies

Forked from owncloud VM thread. When building a VM to share or run more than once there are a number of things that need dealt with.

 

For instance SSH keys are typical created on first install of sshd (aka bad if lots of people have same)

 

 

The purpose of this thread is to identify these and potentially come up with simple generic solutions:

 

So far these come to mind (some may be covered by some virtual software):

 

*SSH keys

*SSL keys

*All python usenet tools that have API keys e.g. sab, sickbeard etc

*apt-cache or similar

*bash history

*virtual MAC

  • Author

...

 

I generated a unique mac address.  I would suggest that you generate a random mac address for yourself and not use the mac address configured in the package.

 

Here's a perl script to generate a random mac address:

#!/bin/bash
perl -e 'printf "00:16:3E:%02X:%02X:%02X\n", rand 0xFF, rand 0xFF, rand 0xFF'

 

...

i think you can do something like this in the cfg file to give you a random mac address:-

 

vif = [ 'mac=00:16:3e:XX:XX:XX,bridge=xenbr0' ]

 

this should then give you a random mac address, disclaimer - untested as waiting on b4  8)

 

personally i like to identify the machine via mac by including the ip address in the mac, so for me i use 192.168.1.0/24 network, and if i say allocated my vm an ip of 192.168.1.10 then i would change my mac to be 00:16:3e:00:01:10, just my own personal preferenace but i thought i would put it out there  :D obviously this would not work if the ip for the vm is > 99 :-)

 

 

  • Author

That might be a good approach at the OS and application level as well i.e. SSH keys get generated if they arent there on most distros. I would hope that apps that require an API key would do similar.

i think you can do something like this in the cfg file to give you a random mac address:-

 

vif = [ 'mac=00:16:3e:XX:XX:XX,bridge=xenbr0' ]

 

this should then give you a random mac address, disclaimer - untested as waiting on b4  8)

 

personally i like to identify the machine via mac by including the ip address in the mac, so for me i use 192.168.1.0/24 network, and if i say allocated my vm an ip of 192.168.1.10 then i would change my mac to be 00:16:3e:00:01:10, just my own personal preferenace but i thought i would put it out there  :D obviously this would not work if the ip for the vm is > 99 :-)

 

If you are going to reserve an IP address with your router, you would want a fixed mac address for the VM.  This method would generate a new mac address every time the VM was started.

 

Once you generated a mac address though, you could then go back and change the .cfg file for the fixed mac address.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.