Sponsored Content
Operating Systems Linux Red Hat Modprobe prepare new IP address Post 302787759 by RudiC on Saturday 30th of March 2013 03:10:36 PM
Old 03-30-2013
I don't think you are "using same old MACADDR" as this is unique and defined by/on the NIC of the new machine, unless explicitly overwritten in rare cases.
Why the effort? Why not adapt the configuration files once and forever? Or, use DHCP! What the intention behind your request?
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how can I run something as root (modprobe, to be exact) every time computer starts.

I have the root password for my box, but I'm ignorant. So, every time I start my computer, I have to run this command /sbin/modprobe fuse as su, so that I can do other stuff (like mount remote directories locally using sshfs) I guess there's some file, like .bashrc, only it's applicable... (4 Replies)
Discussion started by: tphyahoo
4 Replies

2. Linux

Modprobe problem

I'm trying to get a watchdog module working on a server. (Watchdog timers are little hardware devices that reboot the system if it becomes unresponsive.) The module takes some options like the timeout til reboot, what power action to take, etc. I've set these options up in... (4 Replies)
Discussion started by: vertigo23
4 Replies

3. UNIX for Dummies Questions & Answers

prepare a perl tuts

Hi I am working on perl for last 3 yrs and as part of knowledge sharing i have been told to conduct sessions with other teams.Only 1 session with basic details. My problem is i am not sure what all should i cover in this tut ? because i learned perl on my own. so i am not sure where to start... (4 Replies)
Discussion started by: zedex
4 Replies

4. UNIX for Dummies Questions & Answers

modprobe spi_bitbang results in error messages

Hi, I'm having a problem with the voyage linux distribution. I've been busy to include a CAN driver, which uses the SPI bus to communicate. While I was busy debugging the code, everything worked fine while performing a modprobe of the SPI driver to get it all running. But the... (1 Reply)
Discussion started by: nistap
1 Replies

5. Red Hat

problems after modifying modprobe.conf

Hey Guys, I am having a problem after modifying the modprobe.conf. I added a few entries for the HBA drivers. When I noticed that it would not boot after this, I mounted a knoppix disk and removed those lines from the modprobe.conf. Now after removing those lines, it is still stuck at the same... (2 Replies)
Discussion started by: s ladd
2 Replies

6. Red Hat

modprobe: Can't locate module usbcore

Hello Linux forum! I am working on an older Red hat Linux version(kernel) 2.4.21 and I have compiled the kernel and I select it on startup, but I get the following errors: Mounting Local Filesystems: Modprobe: modprobe: Can't locate module usbcore modprobe: modprobe: Can't locate module udf... (1 Reply)
Discussion started by: mr.rhtuner
1 Replies

7. UNIX for Dummies Questions & Answers

Modprobe error message

Hi anyone knows what this error message means and how to fix it? igb 0000:01:00.0: enabling device (0000 -> 0002) igb 0000:01:00.0: PCI INT D -> GSI 16 (level, low) -> IRQ 16 igb 0000:01:00.0: setting latency timer to 64 igb 0000:01:00.0: Hardware Initialization Failure igb 0000:01:00.0: PCI... (1 Reply)
Discussion started by: h0ujun
1 Replies

8. UNIX for Advanced & Expert Users

Rmmod,modprobe or dracut?

I am making few changes inside modprobe.d directory, now there are two options to make them effective 1) rmmod module, make changes and modprobe module 2) dracut -f I was wondering what's the difference between two, in terms of result, dracut makes kernel image again though and the other unplug... (0 Replies)
Discussion started by: nixhead
0 Replies
SYSTEMD-DETECT-VIRT(1)                                          systemd-detect-virt                                         SYSTEMD-DETECT-VIRT(1)

NAME
systemd-detect-virt - Detect execution in a virtualized environment SYNOPSIS
systemd-detect-virt [OPTIONS...] DESCRIPTION
systemd-detect-virt detects execution in a virtualized environment. It identifies the virtualization technology and can distinguish full machine virtualization from container virtualization. systemd-detect-virt exits with a return value of 0 (success) if a virtualization technology is detected, and non-zero (error) otherwise. By default, any type of virtualization is detected, and the options --container and --vm can be used to limit what types of virtualization are detected. When executed without --quiet will print a short identifier for the detected virtualization technology. The following technologies are currently identified: Table 1. Known virtualization technologies (both VM, i.e. full hardware virtualization, and container, i.e. shared kernel virtualization) +----------+----------------+--------------------------------------+ |Type | ID | Product | +----------+----------------+--------------------------------------+ |VM | qemu | QEMU software virtualization, | | | | without KVM | | +----------------+--------------------------------------+ | | kvm | Linux KVM kernel virtual machine, | | | | with whatever software, except | | | | Oracle Virtualbox | | +----------------+--------------------------------------+ | | zvm | s390 z/VM | | +----------------+--------------------------------------+ | | vmware | VMware Workstation or Server, and | | | | related products | | +----------------+--------------------------------------+ | | microsoft | Hyper-V, also known as Viridian or | | | | Windows Server Virtualization | | +----------------+--------------------------------------+ | | oracle | Oracle VM VirtualBox (historically | | | | marketed by innotek and Sun | | | | Microsystems), | | | | for legacy and KVM | | | | hypervisor | | +----------------+--------------------------------------+ | | xen | Xen hypervisor (only domU, not dom0) | | +----------------+--------------------------------------+ | | bochs | Bochs Emulator | | +----------------+--------------------------------------+ | | uml | User-mode Linux | | +----------------+--------------------------------------+ | | parallels | Parallels Desktop, Parallels Server | | +----------------+--------------------------------------+ | | bhyve | bhyve, FreeBSD hypervisor | +----------+----------------+--------------------------------------+ |Container | openvz | OpenVZ/Virtuozzo | | +----------------+--------------------------------------+ | | lxc | Linux container implementation by | | | | LXC | | +----------------+--------------------------------------+ | | lxc-libvirt | Linux container implementation by | | | | libvirt | | +----------------+--------------------------------------+ | | systemd-nspawn | systemd's minimal container | | | | implementation, see systemd- | | | | nspawn(1) | | +----------------+--------------------------------------+ | | docker | Docker container manager | | +----------------+--------------------------------------+ | | rkt | rkt app container runtime | +----------+----------------+--------------------------------------+ If multiple virtualization solutions are used, only the "innermost" is detected and identified. That means if both machine and container virtualization are used in conjunction, only the latter will be identified (unless --vm is passed). OPTIONS
The following options are understood: -c, --container Only detects container virtualization (i.e. shared kernel virtualization). -v, --vm Only detects hardware virtualization). -r, --chroot Detect whether invoked in a chroot(2) environment. In this mode, no output is written, but the return value indicates whether the process was invoked in a chroot() environment or not. --private-users Detect whether invoked in a user namespace. In this mode, no output is written, but the return value indicates whether the process was invoked inside of a user namespace or not. See user_namespaces(7) for more information. -q, --quiet Suppress output of the virtualization technology identifier. -h, --help Print a short help text and exit. --version Print a short version string and exit. EXIT STATUS
If a virtualization technology is detected, 0 is returned, a non-zero code otherwise. SEE ALSO
systemd(1), systemd-nspawn(1), chroot(2), namespaces(7) systemd 237 SYSTEMD-DETECT-VIRT(1)
All times are GMT -4. The time now is 12:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy