Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #different config file denoted by title in --==example==--
- --==Ubuntu server ifconfig output==--
- inet = 192.168.220.95
- broadcast = 192.168.220.255
- --==pi related==--
- nfs fs hostname = oracle_node
- first pi serial No = 0c36778e
- --==cmdline.txt file==--
- dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/nfs nfsroot=192.168.220.95:/srv/nfs,vers4.1,proto=tcp,port=2049 rw ip=dhcp elevator=deadline rootwait plymouth.ignore-serial-console
- --==/etc/exports file==--
- /srv/nfs *(rw,fsid=0,sync,no_subtree_check,no_auth_nlm,insecure,no_root_squash)
- /srv/tftp *(rw,fsid=0,sync,no_subtree_check,no_auth_nlm,insecure,no_root_squash)
- --==/etc/dnsmasq.conf file==--
- port=0
- no-hosts
- interface=enp1s0
- dhcp-range=192.168.220.255,proxy
- pxe-service=0,"Raspberry pi boot"
- log-dhcp
- enable-tftp
- tftp-root=/srv/tftp
- --==oracle linux fstab==--
- #this is the only line, not sure i should have commented out all the old fstab entries?
- 192.168.220.95:/srv/tftp/0c36778e /boot nfs4 defaults,nofail,noatime 0 0
- 192.168.220.95:/srv/nfs / nfs4 defaults,nofail,noatime 0 0
- -==/etc/systemd/network/{10-enp1s0.network,11-enp1s0.network}==--
- 10-enp1s0.network file
- [Match]
- Name=enp1s0
- [Network]
- DHCP=yes
- 11-enp1s0.network
- [Match]
- Name=enp1s0
- [Network]
- Address=192.168.220.0/24
- DNS=8.8.8.8
- Gateway=192.168.220.255
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement