mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-11-26 19:24:56 +00:00
- What I did Move the enabling of Systemd services from sonic_debian_extension to a new systemd generator - How I did it Create a new systemd generator to manually create symlinks to enable systemd services Add rules/Makefile to build generator Add services to be enabled to /etc/sonic/generated_services.conf to be read by the generator at boot time Signed-off-by: Lawrence Lee <t-lale@microsoft.com>
HOWTO Use Virtual Switch (VM)
- Install libvirt, kvm, qemu
sudo apt-get install libvirt-clients qemu-kvm libvirt-bin
- Create SONiC VM
$ virsh
Welcome to virsh, the virtualization interactive terminal.
Type: 'help' for help with commands
'quit' to quit
virsh #
virsh # create sonic.xml
Domain sonic created from sonic.xml
virsh #
- Connect SONiC VM via console
$ telnet 127.0.0.1 7000
- Connect SONiC VM via SSH
$ ssh -p 3040 admin@127.0.0.1